Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connect-time accounting

Status
Not open for further replies.

ytang

Technical User
Mar 8, 2002
1
US
HI GURU,
I tried to track the time between login and logout for each user, no matter how many tty a user opens, or even don't open tty.
The accounting function of irix is incorrect.:
1. if a user open 3 ttys, and use for 10 mins, the total will be 30min.
2. if a user just browse internet. the connet time will be 0.
Is there a way to track the correct connect time, no matter what the user is doing??? I guess there should be someway. Irix is stupid or I am stupid.
Please help.
 
If you only want to check the login and logout for each user look at the /var/adm/SYSLOG file on their workstation. This will let you know the date and time the user logs in and out.

Hope this helps,
BGDAK
 
If you issue the 'last' command this will display each users login / logiut times with the final column showing the calculated time on the system.

You could add these times up manually, or be adventurous and write a script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top