home *** CD-ROM | disk | FTP | other *** search
- Short: Produces 3 logfiles: BootTime/OnOff/..
- Uploader: s_matern@rzmain.rz.uni-ulm.de
- Author: Juergen Matern
-
- 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)
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 587 338 42.4% 23-Sep-93 13:34:36 UpTime/install/AddSlash
- 1124 517 54.0% 23-Sep-93 13:41:46 UpTime/install/CheckDir
- 420 270 35.7% 20-Sep-93 19:15:10 UpTime/install/ExtractYear
- 612 311 49.1% 09-Jan-94 19:58:02 UpTime/install/UpTime.txt
- 7147 2065 71.1% 19-Oct-93 16:59:56 UpTime/Install_UpTime
- 903 409 54.7% 25-Sep-93 13:16:58 UpTime/Install_UpTime.info
- 419 270 35.5% 20-Sep-93 16:15:04 UpTime/scripts/CutArg
- 1448 609 57.9% 19-Oct-93 15:09:00 UpTime/scripts/AtMidNite
- 1776 695 60.8% 09-Jan-94 19:11:20 UpTime/scripts/CheckBootDate
- 789 418 47.0% 23-Sep-93 14:10:54 UpTime/scripts/IncreaseUpTime
- 1388 527 62.0% 09-Jan-94 19:11:22 UpTime/scripts/NewFileNames
- 3501 1101 68.5% 09-Jan-94 19:11:24 UpTime/scripts/OnOff
- 815 404 50.4% 23-Sep-93 13:22:00 UpTime/scripts/SayUpTime
- 486 281 42.1% 25-Sep-93 13:17:20 UpTime/UpTime.doc.info
- 628 267 57.4% 23-Sep-93 14:16:02 UpTime.info
- 742 346 53.3% 21-Sep-93 11:34:40 UpTime/s/CronTab
- 315 189 40.0% 21-Sep-93 10:42:14 UpTime/s/CronTab.part1
- 365 208 43.0% 21-Sep-93 10:37:30 UpTime/s/CronTab.part2
- 31 31 0.0% 21-Sep-93 10:37:02 UpTime/s/CronTab.part3
- 10488 3600 65.6% 11-Jan-94 17:11:18 UpTime/UpTime.doc
- -------- ------- ----- --------- --------
- 33984 12856 62.1% 25-Jan-94 10:48:56 20 files
-