How to check Linux uptime?
- September 16, 2020 at 6:43 AM #3915Santhosh Kumar DKeymaster@santhosh
The uptime is the amount of time the Linux system has been continuously running since the last restart. Let’s learn how to check Linux uptime using the
To display uptime, just type
uptimeand press enter. Root privileges are not necessary to perform this check.
$ uptime 01:02:00 up 1 day, 7:01, 1 user, load average: 0.12, 0.09, 0.05
If you want to display the uptime in pretty format, use the
-pcommand line option.
$ uptime -p up 1 day, 7 hours, 5 minutes
If you want to specifically display just the date and time since when the Linux system has been running, use the
-scommand line option.
$ uptime -s 2020-09-14 18:00:05
-Vcommand line option to display the version information.
$ uptime -V uptime from procps-ng 3.3.12
-hcommand line option to display help.
$ uptime -h Usage: uptime [options] Options: -p, --pretty show uptime in pretty format -h, --help display this help and exit -s, --since system up since -V, --version output version information and exit For more details see uptime(1).
Learn more Linux tips.
- How to voice type on Google Docs?
- What is Django framework?
- How to turn Google Assistant off?
- How to check the Python version?
- How to create a virtual environment in Python?
- How to change the directory in the Command Prompt?
- How to add a shortcode in WordPress PHP template file?
- Useful websites to research stocks
- How to check Linux uptime?
- How to check Linux last reboot time?
- How to ZIP and UNZIP files in Linux?
- How to change the file owner and group in Linux?
- Protect your email address with Firefox Relay
- How to change the language in Microsoft Office?
- How to get Twitter dark mode on desktop and mobile?