Skip to main content

Linux command: uptime


uptime - Tell how long the system has been running.

Examples using uptime with options

[tuyendq@rhel1 ~]$ uptime --pretty
up 21 weeks, 3 days, 22 hours, 17 minutes
[tuyendq@rhel1 ~]$ uptime -p
up 21 weeks, 3 days, 22 hours, 17 minutes

[tuyendq@rhel1 ~]$ uptime --since
2018-12-31 22:42:03
[tuyendq@rhel1 ~]$ uptime -s
2018-12-31 22:42:03

[tuyendq@rhel1 ~]$ uptime --version
uptime from procps-ng 3.3.10
[tuyendq@rhel1 ~]$ uptime -V
uptime from procps-ng 3.3.10
[tuyendq@rhel1 ~]$

Popular posts from this blog

Linux command: ssh-keygen - Generate SSH Keys

ssh-keygen — authentication key generation, management and conversion

Powershell: Install-WindowsFeature AD-Domain-Services

Install-WindowsFeature AD-Domain-Services Powershell: Install-WindowsFeature AD-Domain-Services Check if AD-Domain-Services is installed Powershell: Check if AD-Domain-Services is installed

tmux - Terminal Muliplexer

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.