home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12907 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.2 KB

  1. Path: sparky!uunet!gatech!rutgers!cmcl2!adm!news
  2. From: malik@rnch01.dnet.roche.com
  3. Newsgroups: comp.sys.sgi
  4. Subject: Logon times
  5. Message-ID: <32211@adm.brl.mil>
  6. Date: 26 Aug 92 14:09:06 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 28
  9.  
  10. I need an accurate way of ascertaining the length of time users are logged
  11. onto the system and at what terminal device.  I have an IRIS-4D running
  12. IRIX 3.3.1 and the standard UNIX accounting package does not portray what
  13. is actually happening.
  14.  
  15. In particular, the /etc/utmp file is useful only for determining who is
  16. currently logged on and at what terminal.  Despite what the documentation
  17. says (i.e. last(1)), a logout record is not entered in the /etc/wtmp file.
  18. However if a user is remotely logged on via rlogin(1C), then a "pseudo"
  19. logout record is generated, which I assume to be an exiting rlogind
  20. process.
  21.  
  22. Because a logout record is not generated, last(1) can incorrectly report
  23. that a session is still active when in fact it is not, or it can incorrectly
  24. inflate the duration of s session to the point when a new session is
  25.  
  26. started.
  27.  
  28.  
  29. Thanks,
  30. Jeff
  31.  
  32.  
  33. Jeff Malik
  34. Hoffmann-La Roche
  35. Nutley, New Jersey
  36. malikj@rnisd0.dnet.roche.com
  37. (201) 235-6557
  38.