DEV Community

Kervie Sazon
Kervie Sazon

Posted on

Linux Fundamentals - Part 15: Server Review (Uptime & Load)

One of the fastest ways to review a server’s condition is with a single command:

uptime
Enter fullscreen mode Exit fullscreen mode

The uptime Command

The uptime command gives a information of a Linux system’s current state — all in one line.

Example Output

21:36  up 48 mins, 2 users, load averages: 1.63 1.67 1.65
Enter fullscreen mode Exit fullscreen mode

This output tells:

Part of Output Meaning
Current Time Local server time when the command was run
Up time How long the server has been running since last reboot
Users count Number of logged-in users
Load averages System load over 1, 5, and 15 minutes

This is often the first command engineers run after SSH-ing into a server.

Breaking Down the Output

Example output:

21:36  up 48 mins, 2 users, load averages: 1.63 1.67 1.65
Enter fullscreen mode Exit fullscreen mode

21:36 - current system time.
up 48mins - The server has been running for 48 mins.
2 users - 2 active logged in session.
load average: 1.63 1.67 1.65
These are the load averages for:

  • Last 1 minute
  • Last 5 minutes
  • Last 15 minutes

Uptime Options
uptime -p - show only the running time of the system.
Example output:

up 58 minutes
Enter fullscreen mode Exit fullscreen mode

uptime -s - shows the date/time since when the system has been running.
Example output:

2026-02-23 10:27:58
Enter fullscreen mode Exit fullscreen mode

uptime -h - shows help and exit.
uptime -V - shows information and exit.

Load Average

Load Average represents how much work the system is doing.

Specifically it measures:

  • Processes currently using the CPU.
  • Processes waiting for CPU.
  • Processes in uninterruptible sleep (often waiting for disk I/O).

The three values represents:

Value Represents
First Average load over 1 minute
Second Average load over 5 minutes
Third Average load over 15 minutes

What does Load Average Actually Mean?

Load average is not CPU percentage.
Instead, it shows how many processes are demanding CPU resources.
Interpretation Rule:

  • Load = 0; means System is idle.
  • Load = Number of CPU cores; means Fully utilized.
  • Load > CPU cores; means Overloaded (processes waiting)

Example Scenarios

Single-Core System

  • Load > 1.0 = Overloaded

4-Core System

  • Load = 4.0 = Fully Utilized
  • Load = 6.0 = Overloaded (2 processes waiting)

To check CPU Cores:

nproc
Enter fullscreen mode Exit fullscreen mode

or

lscpu
Enter fullscreen mode Exit fullscreen mode

CPU count matters. Load numbers alone mean nothing without context.

Interpreting Load in Practice

Load Example Interpretation
0.50, 0.40, 0.30 Light load
4.00, 3.50, 2.00 (4 cores) Fully utilized but stable
10.00 (4 cores) Severe overload

A rising 1 minute load but stable 15 minutes load?

  • Probably a temporary spike.

High load but low CPU usage?

  • Likely I/O bottleneck (disk, network, database lock).

This is where real troubleshooting begins.

Why This Matters for Platform Engineers

Checking uptime helps with:

  • Monitoring server health
  • Detecting performance bottlenecks
  • Identifying overload conditions
  • Capacity planning
  • Incident response diagnostics

When someone says:

"The server is slow."

First step is often:

uptime
Enter fullscreen mode Exit fullscreen mode

It gives immediate situational awareness.

Today I learned how to use the uptime command to quickly check a Linux server’s health and status. I now understand how to interpret load average values and compare them properly against the number of CPU cores. I also learned that load average measures CPU demand, not CPU percentage, and can indicate overload or I/O bottlenecks. This lesson strengthened my foundation in server monitoring, which is essential for becoming a Platform Engineer.

Top comments (0)