Difference between revisions of "Uptime (command)"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 13: Line 13:
  
 
* Linux: <code>[[/proc/uptime]]</code>
 
* Linux: <code>[[/proc/uptime]]</code>
* Windows: <code>[[systeminfo]] | [[find]] "System Boot Time"</code>
+
* Windows:  
 +
** <code>[[systeminfo]] | [[find]] "System Boot Time"</code>
 +
** <code>[[wmic os get lastbootuptime]]</code>
 
* [[PAN-OS]]: <code>[[show system]] resources | [[match]] up</code>
 
* [[PAN-OS]]: <code>[[show system]] resources | [[match]] up</code>
 +
 
* [[PacketShaper]]# uptime
 
* [[PacketShaper]]# uptime
 
  System up for 65 days 23 hours 15 mins 22 secs
 
  System up for 65 days 23 hours 15 mins 22 secs
 +
 +
* [[Docker]]: <code>[[stat]] [[/proc/1/cmdline]]</code>
  
  
 
== Related terms ==
 
== Related terms ==
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code>
+
* [[tuptime]]
* <code>[[last]]</code>
+
* <code>[[reboot]]</code>, <code>[[halt]], [[last]]</code>
* <code>[[reboot]]</code>, <code>[[halt]]</code>
 
 
* <code>[[dmidecode]]</code>
 
* <code>[[dmidecode]]</code>
 
* [[IOS]]: <code>[[show version]] | inc uptime</code>
 
* [[IOS]]: <code>[[show version]] | inc uptime</code>
* <code>[[wmic os get lastbootuptime]]</code>
+
* <code>[[podman info]] | grep uptime</code>
* [[podman info]] | grep uptime
 
 
* <code>[[journalctl --list-boots]]</code>
 
* <code>[[journalctl --list-boots]]</code>
 
* <code>[[/var/log/wtmp]]</code>
 
* <code>[[/var/log/wtmp]]</code>
Line 32: Line 35:
 
* <code>[[log show]] --style syslog  --last 30m | awk '/Enter/ && /[[unlockUIBecomesActive]]/ {print $1 " " $2}'</code>
 
* <code>[[log show]] --style syslog  --last 30m | awk '/Enter/ && /[[unlockUIBecomesActive]]/ {print $1 " " $2}'</code>
 
* [[Status]]: [[Uptimerobot.com]]
 
* [[Status]]: [[Uptimerobot.com]]
 +
* <code>[[sar -q]]</code>
  
 
== See also ==
 
== See also ==
 
* {{uptime}}
 
* {{uptime}}
* {{top}}
 
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Latest revision as of 11:02, 22 October 2024

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: [1]

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

system_profiler SPSoftwareDataType | grep boot
System up for 65 days 23 hours 15 mins 22 secs


Related terms[edit]

See also[edit]

  • https://ss64.com/osx/uptime.html
  • Advertising: