Linux Command - uptime
The Linux uptime command will show you the following on one line:
- current time
- how long the system has been up
- how many users are logged in
- system load averages
The load averages are shown for the past 1, 5, and 15 mintues.
Default uptime command that gives you the above info:
uptime
Pretty print just the time the system has been up:
uptime -p
Full date that the system was up since:
uptime -s