home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!ucsbcsl!cherry!cosmo
- From: cosmo@cherry.ucsb.edu (Burtin;Boris;;;;COMS;Undergraduate;940630;911002;1000)
- Newsgroups: comp.unix.questions
- Subject: How to determine user login time in minutes?
- Keywords: time, login, accounting
- Message-ID: <cosmo.714854795@cherry>
- Date: 26 Aug 92 18:46:35 GMT
- Sender: root@ucsbcsl.ucsb.edu
- Lines: 13
-
- I'd like to keep track of how long I've used the system. This should be done
- in my .logout file. I've played around with "last," but it won't give me the
- time for the _current_ session (it says "still logged in").
-
- Is there a utility that I'm missing? Or does someone know of a script
- (preferably in Perl) that will figure out the login time?
-
- Thanks,
-
-
- --
- - Boris
- (cosmo@cs.ucsb.edu)
-