On Sun, 22 Mar 1998, [iso-8859-1] Marcelo E. Magallón wrote: > On Mon, 23 Mar 1998, Michael Beattie wrote: > > > Cant help jumping in, is there an easy way to add/subtract times from the > > output of "date"??? > > Or do you mean that the time-stamp file would be null length and use its > > creation time? even then, how can you work out the time since creation? > > I'm thinking C... use time_t, and add and substract that. strftime is your > friend here. From the shell, use date with some funky formating (something > like "date +%Y%m%d%H%M.%S"). You man add and substract that, and convert > it to another format. > > And yes, for what I asked, it would be a null file, and use creation date > for reference.
I wrote a perl script that calculates ppp usage and breaks it down by user and also classifies it by prime/non-prime time usage. If you like, I can mail it to you. Best regards, Nick -------------------------------------------------------------------------- Nick Busigin <Sent from my Debian/GNU Linux Machine> [EMAIL PROTECTED] To obtain my pgp public key, email me with the subject: "get pgp-key" -------------------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]