I just thought this question while I'm practicing. But, I couldn't able to find the way out.
The question is, How to find a user who has activated a process that takes bunch of CPU memory. So that, it severely affects other processes running on the system.
I guess, first of all we need monitor the process using 'topas' command.
Then, it gives the PID of that process that takes more memory. But, How could we trace the user who has executed that command?
Please help me with your valuable thoughts!
Looking forward to have response!
Pinned topic To find which user has fired a command that takes most of the CPU memory?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-03T09:22:42Z at 2012-05-03T09:22:42Z by shibhikkiran
mmveiga 270003EPEE78 Posts
Re: To find which user has fired a command that takes most of the CPU memory?2012-04-30T16:25:21ZThis is the accepted answer. This is the accepted answer.Hi,
A quick command that will show how much memory each process is taking in MB :
svmon -P -O summary=basic,unit=MB
After you have the PID you just need to run :
ps -ef | grep PID
The first column will show the username for the owner of the PID.
You can also check how much memory is being used by each username by running :
svmon -U -O summary=basic,unit=MB
For more information and other options you can refer to the man pages for the svmon command and the AIX Infocenter.
shibhikkiran 270005912517 Posts
Re: To find which user has fired a command that takes most of the CPU memory?2012-05-03T09:22:42ZThis is the accepted answer. This is the accepted answer.
- mmveiga 270003EPEE
It works great.
Thanks for your valuable reponse.
Have a nice day!