Install uptimed by entering the following commands in the terminal:
sudo apt update sudo apt install uptimed
Description:
utility to track high uptimes - daemon
The uptime daemon tracks a system's highest uptimes via boot IDs, using the system boot time to keep sessions apart from each other. It features a console program to display statistics, and can send mail if a milestone or a new record is reached.
Homepage: https://github.com/rpodgorny/uptimed
Version: 1:0.4.0+git20150923.6b22106-2
Section: universe/utils