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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print out the history log files for AIX

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
<br>is there any command of scripts that can help me to print out such activities<br>1. userid activities such login,logout,faillogin or etc<br>2. on-line memory usage for each userid<br><br>for you info, I'am using Aix 4.3.3<br><br><br>Thanks<br><br>Regards<br>Rosli<br>
 
Rosli<br><br>'lastcom &lt;user&gt;' will give you a list of shell commands run by your users.<br><br>memory usage per user-id -- hmmm, not sure if you can do that. I'll check. Anybody else know? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
All I can think of is <i>du -k /~user </i>, but that will only tell you how much disk space they are using, not how much memory their processes are using. <p>Jon Zimmer<br><a href=mailto:b0rg@pcgeek.net>b0rg@pcgeek.net</a><br><a href= Aetea Information Technology</a><br>The software required `Windows 95 or better', so I installed Linux.<br>
 
ps -fel will give the memory SZ and uid for each procees. <p>Ged Jones<br><a href=mailto:gedejones@hotmail.com>gedejones@hotmail.com</a><br><a href= > </a><br>
 
Good thought Ged - you could use 'ps -fel' and then work out totals by user from there <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top