8:01 PM uptime command in Linux |
|
If you want to find the duration of time a linux server is up or active, you can use uptime command uptime - tell how long the system has been running Format uptime [OPTION]... [ FILE ] DESCRIPTION Print the current time, the length of time the system has been up, the number of users on the system, and the average number of jobs in the run queue over the last 1, 5 and 15 minutes. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common. Prompt> hostname DemoServer Prompt:> uptime 12:24pm up 346 days 1:14, 3 users, load average: 0.06, 0.07, 0.08 So the above command will tell that the server DemoServer is UP by 346 days 1:14 hrs having the average load of jobs as 0.06, 0.07, 0.08 in last 1, 5 and 15 minutes. |
|
|
Related blogs
You may also like to see:
| [2015-07-12] | [Open System-Linux] |
EGREP or extended grep in Linux to search patterns | |
| [2014-09-26] | [Open System-Linux] |
Traceroute command in Linux | |
| [2015-06-03] | [Open System-Linux] |
STAT command : check file or filesystem statistics | |
| [2014-08-31] | [Open System-Linux] |
20 command line tools to check load and performance of a Linux System | |
| [2016-12-25] | [Open System-Linux] |
Guide for working with zipped and archived files in Linux/AIX | |
| Total comments: 0 | |
EGREP or extended grep in Linux to search patterns
Traceroute command in Linux
STAT command : check file or filesystem statistics
20 command line tools to check load and performance of a Linux System
Guide for working with zipped and archived files in Linux/AIX