Difference between revisions of "Uptime (command)"

From wikieduonline
Jump to navigation Jump to search
Line 33: Line 33:
 
* <code>[[/var/log/btmp]]</code>
 
* <code>[[/var/log/btmp]]</code>
 
* [[Windows]]: [[systeminfo | find "System Boot Time:"]]
 
* [[Windows]]: [[systeminfo | find "System Boot Time:"]]
 +
* <code>[[log show]] --style syslog  --last 30m | awk '/Enter/ && /[[unlockUIBecomesActive]]/ {print $1 " " $2}'</code>
  
 
== See also ==
 
== See also ==

Revision as of 17:08, 2 August 2022

wikipedia:uptime

Linux Ubuntu output:

uptime
09:54:21 up 8 days, 20:20,  1 user,  load average: 0.00, 0.00, 0.00

macOS: https://ss64.com/osx/uptime.html

uptime
13:41  up 31 days, 22:06, 3 users, load averages: 1.41 1.26 1.21

system_profiler SPSoftwareDataType | grep boot

Linux:


PacketShaper# uptime
System up for 65 days 23 hours 15 mins 22 secs


Related terms

See also

Advertising: