uptime
Tell how long the system has been running and other information. More information: <https://www.gnu.org/software/coreutils/uptime>.
Install
- All systems
-
curl cmd.cat/uptime.sh
- Debian
-
apt-get install procps - Ubuntu
-
apt-get install procps -
Alpine
-
apk add procps - Arch Linux
-
pacman -S procps-ng - Kali Linux
-
apt-get install procps - CentOS
-
yum install procps-ng - Fedora
-
dnf install procps-ng - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install procps - Raspbian
-
apt-get install procps - Docker
-
docker run cmd.cat/uptime uptimepowered by Commando
Tell how long the system has been running and other information. More information: <https://www.gnu.org/software/coreutils/uptime>.
-
Print current time, uptime, number of logged-in users and other information:
uptime -
Show only the amount of time the system has been booted for:
uptime --pretty -
Print the date and time the system booted up at:
uptime --since -
Show version information:
uptime --version
© tl;dr; authors and contributors