Editing Uptime (command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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: | + | macOS: https://ss64.com/osx/uptime.html#:~:text=The%20uptime%20utility%20displays%20the,%2C%205%2C%20and%2015%20minutes. |
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: | |
− | + | * <code>[[/proc/uptime]]</code> | |
− | + | ||
− | |||
− | |||
[[PacketShaper]]# uptime | [[PacketShaper]]# uptime | ||
Line 23: | Line 21: | ||
== Related terms == | == Related terms == | ||
− | |||
* [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code> | * [[Docker]]: <code>[[stat]] /proc/1/[[cmdline]]</code> | ||
− | * <code>[[ | + | * <code>[[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>[[podman info]] | grep uptime | + | * <code>[[wmic os get lastbootuptime]]</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:"]] |
− | |||
− | |||
== See also == | == See also == | ||
* {{uptime}} | * {{uptime}} | ||
+ | * {{top}} | ||
+ | * {{ps}} | ||
+ | |||
[[Category:Linux commands]] | [[Category:Linux commands]] |
Advertising: