3 Ways to Check System Uptime on Linux Terminal
HardReset.InfoDecember 31, 20252 min22 views
5 connectionsΒ·6 entities in this videoβChecking Linux System Uptime
- π‘ The
uptimecommand is the most common and straightforward way to check how long your Linux system has been running. - π― It displays the current time, system uptime (e.g., 49 minutes), and the number of logged-in users.
Understanding /proc/uptime
- π» Accessing the
/proc/uptimefile provides two key numbers: total system uptime in seconds and total CPU idle time in seconds. - π To convert the total uptime from seconds to minutes or hours, divide the first number by 60 (for minutes) or 3600 (for hours).
Determining Last Boot Time
- π The
who -bcommand can show the last boot time of your system. - β οΈ Note: On virtual machines, this command might display the VM creation time instead of the system boot time, as demonstrated in the video.
Conclusion
- β These three methods offer simple yet effective ways to monitor your Linux system's uptime and last boot time.
- π The video covers the
uptimecommand,/proc/uptimefile, andwho -bcommand for checking system status.
Knowledge graph6 entities Β· 5 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
6 entities
Chapters1 moments
Key Moments
Transcript9 segments
Full Transcript
Topics9 themes
Whatβs Discussed
LinuxSystem UptimeTerminaluptime command/proc/uptimewho -bLast Boot TimeLinux TipsVirtual Machine
Smart Objects6 Β· 5 links
ConceptsΒ· 2
ProductsΒ· 4