To find idle time of a user

Hi All

I need to find the idle time of a user... but my OS seems to be not supporting finger

$ finger
-sh: finger: command not found

I need to find the idle time and perform some other operations... So is there any other way i can find the idle time of a user...

$ uname -a
Linux itl-hw-22843d 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux

P.S:I dont have the root password of this linux box....

You could try using

w

It outputs something like:

 17:29:11 up 43 days,  7:13,  2 users,  load average: 0.00, 0.00, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     tty1     -                16Jan09  8days  0.06s  0.06s -bash
root     pts/1    xxxxxxxx         19Feb09  0.00s  0.08s  0.08s -bash

w

Just one letter command:D... seems to be working fine... thanks umar:)