tester@linux:~> w
16:33:03 up
3:33,
USER
TTY
tester
:0
tester
pts/0
If any users of other systems have logged in remotely, the parameter -f shows the
computers from which they have established the connection.
17.9 Time and Date
17.9.1 Time Measurement with time
Determine the time spent by commands with the time utility. This utility is available
in two versions: as a shell built-in and as a program (/usr/bin/time).
tester@linux:~> time find . > /dev/null
real
0m4.051s
user
0m0.042s
sys
0m0.205s
2 users,
load average: 0.14, 0.06, 0.02
LOGIN@
IDLE
JCPU
16:33
?xdm?
9.42s
15:59
0.00s
0.19s
PCPU WHAT
0.15s /bin/sh /opt/kde3/bin/startk
0.00s w
System Monitoring Utilities
343