Javatpoint Logo
Javatpoint Logo

Linux uptime

The uptime command tells us how long a system has been running.

Syntax:

Linux UpTime1

Look at the above snapshot, command "uptime" displays output in one line.

From the left, it shows,

  • currrent system time
  • duration for which system has been running (system is running since 18 minutes)
  • number of users logged in (2 users are logged in)
  • system load average CPU load for past 1, 5 and 15 minutes.

Here, system load averages are the processes which are either in runnable or in uninterruptable state.

A runnable process may be either a running one using CPU or waiting to use CPU. An uninterruptable process is waiting for some I/O access.

Option

Command uptime has a single option.

Uptime -V

It displays version information.

Linux UpTime2
Next TopicLinux service





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA