Skip to main content

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 uptime command 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/uptime file 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 -b command 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 uptime command, /proc/uptime file, and who -b command 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