Linux Monitoring Uptime

uptimed — uptime record keeper

uptimed is a daemon that records system uptime history and keeps track of the longest runs between reboots. It provides statistics beyond what the basic uptime command offers.

What uptimed is good for

Note: uptimed must run as a daemon to collect data over time.

Install

# Debian/Ubuntu
sudo apt install uptimed

# RHEL/CentOS (may require EPEL)
sudo dnf install uptimed

# Arch
sudo pacman -S uptimed

10 Practical Examples

1) Show uptime records

uprecords

Displays top uptime streaks.

2) Show full uptime history

uprecords -a

Lists all recorded uptime sessions.

3) Start the uptimed service

sudo systemctl enable --now uptimed

Enable daemon at boot and start immediately.

4) Check service status

systemctl status uptimed

Verify daemon is running.

5) View uptime stats with load averages

uprecords -l

Displays load averages during uptime sessions.

6) Show current uptime ranking

uprecords

See where current session ranks.

7) View raw uptime file

cat /var/lib/uptimed/records

Inspect stored uptime data directly.

8) Restart daemon

sudo systemctl restart uptimed

Restart service after configuration changes.

9) Compare with standard uptime

uptime
uprecords

Basic uptime vs historical tracking.

10) Check logs

journalctl -u uptimed

Review daemon logs.

Notes & Gotchas