Difference between revisions of "Uptime (command)"
Jump to navigation
Jump to search
↑ https://ss64.com/osx/uptime.html
(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 == | ||
− | * [[ | + | * [[tuptime]] |
− | * <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> | + | * <code>[[podman info]] | grep uptime</code> |
− | |||
* <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}} | ||
− | |||
[[Category:Linux commands]] | [[Category:Linux commands]] |
Latest revision as of 11:02, 22 October 2024
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
- Linux:
/proc/uptime
- Windows:
systeminfo | find "System Boot Time"
wmic os get lastbootuptime
- PAN-OS:
show system resources | match up
- PacketShaper# uptime
System up for 65 days 23 hours 15 mins 22 secs
Related terms[edit]
- tuptime
reboot
,halt, last
dmidecode
- IOS:
show version | inc uptime
podman info | grep uptime
journalctl --list-boots
/var/log/wtmp
/var/log/btmp
log show --style syslog --last 30m | awk '/Enter/ && /unlockUIBecomesActive/ {print $1 " " $2}'
- Status: Uptimerobot.com
sar -q
See also[edit]
uptime
,last
,who
, pts, tty,journalctl --list-boots, systeminfo , tuptime
Advertising: