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

Docker: Commonly Used Commands

Repeat to remember Remember to repeat

Powershell: Test-NetConnection

PS C:\Users\tuyen> get-help Test-NetConnection NAME     Test-NetConnection SYNTAX     Test-NetConnection [[-ComputerName] <string>] [-TraceRoute] [-Hops <int>] [-InformationLevel {Quiet |     Detailed}]  [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] [-CommonTCPPort] {HTTP | RDP | SMB | WINRM}     [-InformationLevel {Quiet | Detailed}]  [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] -Port <int> [-InformationLevel {Quiet | Detailed}]     [<CommonParameters>]     Test-NetConnection [[-ComputerName] <string>] -DiagnoseRouting [-ConstrainSourceAddress <string>]     [-ConstrainInterface <uint32>] [-InformationLevel {Quiet | Detailed}]  [<CommonParameters>] ALIASES     TNC REMARKS     Get-Help cannot find the Help files fo...

Windows 10: Install SuSE Linux Enterprise - SLES

With Microsoft-Windows-Subsystem-Linux feature enabled, we can install Linux distributions on Windows 10.