AminetAminet
Search:
84799 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/misc/LogTime.lha

Mirror:Random
Showing: ppc-amigaos icongeneric icon
No screenshot available
Short:A Simple, Cumulative OnLine Timer v1.18
Author: mleining at metrolink.net (Jim Leininger)
Uploader:mleining metrolink net (Jim Leininger)
Type:comm/misc
Architecture:m68k-amigaos
Date:1995-09-03
Download:comm/misc/LogTime.lha - View contents
Readme:comm/misc/LogTime.readme
Downloads:622

$Id: LogTime.readme,v 1.1 1995/09/02 23:13:15 mleining Exp mleining $
/*
 * Copyright (c) 1995, Marvin James (Jim) Leininger, Jr
 *                     mleining@metrolink.net
 *                     All Rights Reserved.
 * 
 * this program is a quick hack to time my ppp connections
 * 
 * I'm providing it "as is" because I thought other's might 
 * find it useful.
 * 
 * To use it:
 * 
 * 0. copy LogTime to someplace in your path, probably
 * AmiTCP:bin or c:
 * 
 * 1. when you connect to your on-line service, run LogTime.
 * (if you don't want the timer output, 
 * use "run >nil: <nil: Logtime")
 * (a good place to do this is in your startppp
 * or startnet script).
 * 
 * 2. when you disconnect from your on-line service, 
 * run logtime with the -s option.
 * (a good place to do this is in your stopppp
 * or stopnet script).
 * 
 * 3. once a month (usually on your billing cutoff date), run
 * LogTime with the -r option, to reset the timer to zero.
 * If you run a cron program, you can add lines to your 
 * crontab to print your current monthly usage (logtime -p)
 * and then reset the counter (logtime -r).
 * 
 * 4. Logtime writes it's time to ENV:LogTimeValue and ENVARC:LogTimeValue,
 * so you can access the current time from those files,
 * or with the environment functions.  I know this is a hack,
 * but I didn't want to take the time to figure out the right
 * way to do this.  It also uses ENV:LogTimeCmd to send itself
 * commands.
 * 
 *    
 *    Standard Disclaimer
 *   -------------------
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL 
 * I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
 * THE POSSIBILITY OF SUCH DAMAGE.
 */

LogTime.gcc is compiled with gcc version 2.5.7
using the amigados script "make.gcc".  Of course,
gcc must be properly configured.

LogTime.Aztec is compiled with Manx Aztec C using
the supplied makefile.

Both programs should function identically, but I
included both, in case one requires some libraries
that everyone might not have.

This should be pretty portable between different
C compilers, but I only have gcc and Manx..

Check the header of LogTime.c for additional comments.

I've also added some simple scripts with icons to perform
the LogTime functions from Workbench.

If you like this program and use it, please send me
a postcard or e-mail.

Jim
mleining@metrolink.net


Contents of comm/misc/LogTime.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  273     628  43.5% -lh5- 5e8e Sep  2  1995 LogTime.info
[generic]                   76     109  69.7% -lh5- d89e Sep  2  1995 LogTime/.indent.pro
[generic]                 6592   12192  54.1% -lh5- f622 Sep  2  1995 LogTime/LogTime
[generic]                 6592   12192  54.1% -lh5- f622 Sep  2  1995 LogTime/LogTime.Aztec
[generic]                 3045    8379  36.3% -lh5- d17c Sep  2  1995 LogTime/LogTime.c
[generic]                  242     478  50.6% -lh5- 9d3d Sep  2  1995 LogTime/LogTime.c.info
[generic]                 3357    6592  50.9% -lh5- 3786 Sep  2  1995 LogTime/LogTime.gcc
[generic]                  316     766  41.3% -lh5- 132f Sep  2  1995 LogTime/LogTime.info
[generic]                 1588    3105  51.1% -lh5- a7a1 Sep  2  1995 LogTime/LogTime.readme
[generic]                  244     478  51.0% -lh5- 8535 Sep  2  1995 LogTime/LogTime.readme.info
[generic]                    8       8 100.0% -lh0- ae85 Sep  2  1995 LogTime/LogTime.s
[generic]                  371     778  47.7% -lh5- b2e3 Sep  2  1995 LogTime/LogTime.s.info
[generic]                   43      43 100.0% -lh0- 03c8 Sep  2  1995 LogTime/LogTimeVersion.s
[generic]                  371     779  47.6% -lh5- 7818 Sep  2  1995 LogTime/LogTimeVersion.s.info
[generic]                   39      39 100.0% -lh0- 3568 Sep  2  1995 LogTime/make.gcc
[generic]                  428     736  58.2% -lh5- b3ff Sep  2  1995 LogTime/makefile
[generic]                   43      43 100.0% -lh0- edc8 Sep  2  1995 LogTime/PrintLogTime.s
[generic]                  362     778  46.5% -lh5- 4fb5 Sep  2  1995 LogTime/PrintLogTime.s.info
[generic]                   11      11 100.0% -lh0- 3f51 Sep  2  1995 LogTime/ResetLogTime.s
[generic]                  368     778  47.3% -lh5- 8d5d Sep  2  1995 LogTime/ResetLogTime.s.info
[generic]                   11      11 100.0% -lh0- af50 Sep  2  1995 LogTime/StopLogTime.s
[generic]                  370     778  47.6% -lh5- 03e7 Sep  2  1995 LogTime/StopLogTime.s.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        22 files   24750   49701  49.8%            Sep  3  1995
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>