[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637180: ITP: tuptime -- Report how long the system or other components has been running, count it between restarts.



Hi,

Ricardo F <rikr_@hotmail.com> writes:
> Tuptime count the system restarts and total uptime that the system is
> active, save it between restarts. You can add to its configuration
> file names of pieces of hardware and show you the total uptime since
> this hardware is plugin. When you remove hardware, tuptime can show a
> historically time in the output. Finally, it calculate the medium
> uptime for the system and print it in the output.

Just a quick comment: If you intend to use

http://tuptime.svn.sourceforge.net/viewvc/tuptime/tuptime-1.5.0/files/tuptime.init.d-debian?revision=49&view=markup

as the init.d -script please note that it fails if the package is
removed but not purged. You need to check if $SCRIPT exists.

See e.g. /etc/init.d/skeleton for


# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0


-Timo



Reply to: