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

AIX stats 1

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
hello fellower AIXers:


is it possible to get some INSTANT detailed stats for upper level management?

Ie. what user is using up the most CPU?
what process is using up the most memory?

things like that.

I know for sure, a regular user can't user tools like 'topas' or 'svmon'. I need something in that line
 
perhaps you can give the user through the use of sudo rights to use these tools,if that is allowed?

regards

R.
 
The IBM site recommends setting the sui bit on topas to give access to non root users. However this gives access to all users so personnally I go with RMGBELGIUM in using sudo so that I can control which users get access.

Columb Healy
 
Also,

Can write a script for your MANAGEMENT guys,like:

###################
!#/bin/ksh
echo "\nTop 10 memory usage by process\n"
ps auxw | sort -r +3 |grep -v USER |head -10

echo "\nTop 10 CPU usage by process\n"
ps auxw|sort -r +2|grep -v USER |head -10

echo "\nThe following filesystems are 100% full:\n"
df |grep 100%|awk '{print $7}'

echo "\nLast 10 logins:\n"
last|head -10

echo "\nLatest smit activities\n"
grep -E "2005|title|>>" /smit.log | tail -30



Long live king Moshiach !
 
You can use the procmon tool which comes with AIX 5.3.
It will give you all needed information in a IHM environment. It is on AIX base distribution.
 
You could use a product called uptime. We use it and its very easy to use. Anyone can see what your systems are doing on the fly. It lives on a windows box and get stats from the AIX systems. You can look at anything you want with the knowledge that you aren't effecting the systems since your not on them.

For more info go to
 
has anyone got topas and screen working fine?

I want to have root open up a session of topas in screen, and have a reguar user access the root's topas session using screen -x.

 
WOW! real nice hirschaj!

Are there any security problems with this method? We try to keep our systems very secure!
 
Well, having /dev/mem world readable makes it possible for someone very talented to possibly access information stored in memory, but they would have to have some serious skills.


Jim Hirschauer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top