tuptime
tuptime copied to clipboard
Report historical and statistical real time of the system, keeping it between restarts. Like uptime command but with more interesting output.
I see where the largest and shortest up/down times got removed in version 5, but what was the reasoning? Are there plans to add it back in? I love that...
In `tuptime` Python code, `sys.exit(-1)` is used for error code. Generally, we use 1 for error code in this case => `sys.exit(1)`.
Hi, for distributions that use systemd, it would probably make sense to use [tmpfiles.d](https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html) to create and manage permissions for the `/var/lib/tuptime/` directory. This makes little difference to the user,...
I'm interested in finding the uptime since the most recent non-graceful shutdown. My systems do automated regular reboots, so any uptime since a non-graceful shutdown would be my "graceful uptime"....