Difference between revisions of "Uptime (command)"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
* <code>[[/var/log/btmp]]</code> | * <code>[[/var/log/btmp]]</code> | ||
* [[Windows]]: [[systeminfo | find "System Boot Time:"]] | * [[Windows]]: [[systeminfo | find "System Boot Time:"]] | ||
+ | * <code>[[log show]] --style syslog --last 30m | awk '/Enter/ && /[[unlockUIBecomesActive]]/ {print $1 " " $2}'</code> | ||
== See also == | == See also == |
Revision as of 17:08, 2 August 2022
Linux Ubuntu output:
uptime 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
uptime 13:41 up 31 days, 22:06, 3 users, load averages: 1.41 1.26 1.21 system_profiler SPSoftwareDataType | grep boot
Linux:
PacketShaper# uptime System up for 65 days 23 hours 15 mins 22 secs
Related terms
- Docker:
stat /proc/1/cmdline
last
reboot
,halt
dmidecode
- PAN-OS:
show system resources | match up
- IOS:
show version | inc uptime
wmic os get lastbootuptime
- podman info | grep uptime
journalctl --list-boots
/var/log/wtmp
/var/log/btmp
- Windows: find "System Boot Time:"
log show --style syslog --last 30m | awk '/Enter/ && /unlockUIBecomesActive/ {print $1 " " $2}'
See also
uptime
,last
,who
, pts, tty,journalctl --list-boots, systeminfo , tuptime
top
,ntop
,htop
,atop
,iotop
,systemd-cgtop
,virt-top
,stress
,slabtop
,docker stats
,docker top
,docker container top
,docker-compose top
,nmon
,tload
,kubectl top pod PODNAME
,sar
,kubectl top
,glances
,vmstat, gpustat, asitop
- Process, zombie process, fork, thread:
ps
,tree
,pstree
,ps axf
,proc
,pwdx
,which
,watch
,sar -q
,tload
,uptime
, Interrupts,pgrep
,tasklist
(Windows), Zombie process,pstack
,docker ps
,docker-compose ps
,jobs
,acct
,process mrelease
,pidstat
, IPC,pidof
Advertising: