Difference between revisions of "Uptime (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  09:54:21 up 8 days, 20:20,  1 user,  [[load average]]: 0.00, 0.00, 0.00
 
  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
+
macOS: <ref>https://ss64.com/osx/uptime.html</ref>
 
  uptime
 
  uptime
 
  13:41  up 31 days, 22:06, 3 users, [[load averages]]: 1.41 1.26 1.21
 
  13:41  up 31 days, 22:06, 3 users, [[load averages]]: 1.41 1.26 1.21
Line 12: Line 12:
 
  [[system_profiler]] SPSoftwareDataType | grep boot
 
  [[system_profiler]] SPSoftwareDataType | grep boot
  
Linux:
+
* Linux: <code>[[/proc/uptime]]</code>
* <code>[[/proc/uptime]]</code>
+
* Windows:
 
+
** <code>[[systeminfo]] | [[find]] "System Boot Time"</code>
 +
** <code>[[wmic os get lastbootuptime]]</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
  
Windows:
 
[[systeminfo]] | [[find]] "System Boot Time"
 
  
 
== Related terms ==
 
== Related terms ==
 +
* [[tuptime]]
 
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code>
 
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code>
* <code>[[last]]</code>
+
* <code>[[reboot]]</code>, <code>[[halt]], [[last]]</code>
* <code>[[reboot]]</code>, <code>[[halt]]</code>
 
 
* <code>[[dmidecode]]</code>
 
* <code>[[dmidecode]]</code>
* [[PAN-OS]]: <code>[[show system]] resources | [[match]] up</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>
 
* <code>[[/var/log/btmp]]</code>
 
* <code>[[/var/log/btmp]]</code>
* [[Windows]]: [[systeminfo | find "System Boot Time:"]]
 
 
* <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>
* [[Windows]]: <code>[[systeminfo]]</code>
 
 
* [[Status]]: [[Uptimerobot.com]]
 
* [[Status]]: [[Uptimerobot.com]]
  
 
== See also ==
 
== See also ==
 
* {{uptime}}
 
* {{uptime}}
* {{top}}
 
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Latest 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[edit]

See also[edit]

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