Linux Tips and Tricks

Linux Tips and Tricks

Uptime command


uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

$ uptime
 10:00:26 up 12 min,  2 users,  load average: 0.26, 0.44, 0.39

This is the same information contained in the header line displayed by w(command)  

$ w
 10:00:23 up 12 min,  2 users,  load average: 0.29, 0.45, 0.39
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
kamaraj  tty7     :0               09:48     ?    50.38s  0.18s x-session-manag
kamaraj  pts/0    :0.0             09:58    0.00s  0.16s  0.00s w

posted under Uncategorized

Email will not be published

Website example

Your Comment:

Recent Comments