Hi All,
There is a virtual user "ecoouk" which logs on to the server and runs some scripts. I want to know how much server performance can I gain if I put off all the scripts run by this user.
Please tell me how to analyse how much resources a specific user is using.
Regards,
Abhishek
You have to write a script that will check CPU, swap, Memory usageof the system. You have to implement it as a cron as well (,"). Monitor the output from your script logs. Schedule a cron time similarly to when your "anonymous" script is run. Once you capture the system utilisation, you can do a comparison yourself..
Do you feel its too difficult for you? If yes, let us know, we will see how we can assist you. If im not wrong, I guess what you're looking for is this.. right?
Thanks friend,
I got a way for that.....
i ran prstat -t 1 2 for getting a summary of how much resource a user is using...
thanks anyways....
Regards,
Abhi
Use prstat -a(will give you a summary of CPU,Mem usage). You can use your own suggestion too
Gd luck !