Tuesday, 14 August 2007

How long the system has been up?

To check how long the system has been up use uptime

The uptime command prints the current time, the Jiglength of time the system has been up, and the average number of jobs in the run queue over the last 1, 5 and 15 minutes. It is, essentially, the first line of a w(1) command.


$ uptime
2:33pm up 14 day(s), 1:01, 4 users, load average: 1.30, 1.26, 1.25

No comments: