Overview
--------
If you ever wanted to know, how long your computer is workig every day and
you didn't know how to get this information, then this package is the
solution of your problem. Once this package is installed you get three
files, which are updated every day. In the first file you will find the
time, your computer worked (listed day by day), in the second file you will
find a note, every time your computer booted and in the third you can see,
when you turned your system on, when you turned it off, and how many resets
you had.
Here three little sample-logfiles:
The UpTime-file:
...
Montag 20-Sep-93 SystemUpTime: 4 h 40 min.
Dienstag 21-Sep-93 SystemUpTime: 10 h 45 min.
Mittwoch 22-Sep-93 SystemUpTime: 4 h 45 min.
The Log-file:
...
Dienstag 21-Sep-93 22:28:34
Dienstag 21-Sep-93 22:29:18
Dienstag 21-Sep-93 22:38:07
Mittwoch 22-Sep-93 08:39:11
Mittwoch 22-Sep-93 17:12:27
Mittwoch 22-Sep-93 18:01:08
The OnOff-file:
...
Turned system on: Dienstag 21-Sep-93 22:28:34
You had 2 resets!
Turned system off: Dienstag 21-Sep-93 22:45:01
Turned system on: Mittwoch 22-Sep-93 08:39:11
Turned system off: Mittwoch 22-Sep-93 10:35:00
Turned system on: Mittwoch 22-Sep-93 17:12:27
You had 1 reset!
Turned system off: Mittwoch 22-Sep-93 19:55:00
The scripts can also control events, you only want to run once a day (i.e.
updating of a find-database or something like this). In the two scripts,
which control these events (CheckBootDate and AtMidNite) there is the
standard-event of my system, which is executed once every day. It's the
program 'updatedb'. Remove this line, if you don't use it, and put any
other 'once-day-events' at its place. See the file 'Find.lha' in the
Goodies-directory for more information on 'updatedb'.
This package consists of some AmigaDOS-scripts. These scripts have to be
controlled via cron (an utility, which starts a script or program at
defined times). If you don't use a cron-utility yet, you will have to
install a cron-utility yourself. Perhaps you try 'CyberCron' from
Christopher A. Wichura. You can find it on Fish 801. For the latest
version also check newer ><> and in AmiNet (path: ../aminet/os20/cli/).
The scripts also need some ENV-variables to be declared (will be defined by
the installscript).
As the programs are all AmigaDOS-scripts it should be easy, to modify the
scripts to fit your suits.
Requirements
------------
* OS 2.04 or later (never tested with 1.3)
* The install-script needs the 'Pipe:'-device to be mounted
* HardDisk is not required but strongly recommended
* A cron-utility (i.e. CyberCron from Fish 682)
|