Difference between revisions of "Uptime (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(4 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>
  
Line 21: Line 23:
  
 
== Related terms ==
 
== Related terms ==
 +
* [[tuptime]]
 
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code>
 
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code>
 
* <code>[[reboot]]</code>, <code>[[halt]], [[last]]</code>
 
* <code>[[reboot]]</code>, <code>[[halt]], [[last]]</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 35: Line 37:
 
== See also ==
 
== See also ==
 
* {{uptime}}
 
* {{uptime}}
* {{top}}
 
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Revision as of 13:02, 8 April 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
PacketShaper# uptime
System up for 65 days 23 hours 15 mins 22 secs


Related terms

See also

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