Difference between revisions of "Uptime (command)"
Jump to navigation
Jump to search
↑ https://ss64.com/osx/uptime.html
Line 24: | Line 24: | ||
== Related terms == | == Related terms == | ||
* [[tuptime]] | * [[tuptime]] | ||
− | * [[Docker]]: <code>[[stat]] /proc/1/ | + | * [[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> |
Revision as of 11:00, 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
- tuptime
- Docker:
stat /proc/1/cmdline
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
uptime
,last
,who
, pts, tty,journalctl --list-boots, systeminfo , tuptime
Advertising: