LinuxCommandLibrary

uprecords

Display historical system uptime records

TLDR

Display top 10 uptime records
$ uprecords
copy
Show top N records
$ uprecords -m [25]
copy
Show downtime between reboots
$ uprecords -d
copy
Sort by boot time (most recent first)
$ uprecords -B
copy
Show all records
$ uprecords -a
copy
Run continuously in a loop
$ uprecords -f
copy
Show next milestone
$ uprecords -M
copy

SYNOPSIS

uprecords [-?abBcdfkKMsv] [-i interval] [-m count]

DESCRIPTION

uprecords displays a summary of historical uptime records collected by the uptimed(8) daemon. It tracks system uptime across reboots and shows statistics about the longest running periods.
The tool requires the uptimed daemon to be running to collect uptime data. By default, it shows the top 10 uptime records with extra statistics.

PARAMETERS

-m N

Display top N records instead of the default 10.
-a
Show all records.
-b
Sort by boot time, oldest first. Implies -s.
-B
Sort by boot time, newest first. Implies -s.
-c
Do not show current entry if not in top entries.
-d
Show downtime between reboots instead of kernel version.
-f
Run continuously in a loop (update every 5 seconds).
-i INTERVAL
Use INTERVAL seconds for loop instead of 5. Implies -f.
-k
Sort by kernel/system name. Implies -s.
-K
Sort by kernel/system name, reversed. Implies -s.
-M
Show next milestone.
-s
Do not print extra statistics.
-w
Do not truncate output.
-v
Show version information.

CAVEATS

Requires uptimed daemon to be running. Historical data depends on how long uptimed has been active. New installations have no historical data.

SEE ALSO

uptime(1), uptimed(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard