Search This Blog

Monday, August 16, 2010

CPU Monitoring(Doctortux)

Following command are usefull for monitoring cpu performance so they are included in the script.

#uptime

The above command helps us find the important aspect of the machine which is How long the machine is been running? in other world when did it start running?
The more the uptime the slower the performance.

#w

The above command helps to determine how many users are logged into the system.
The more the sessions the slower the performance.

#ps auxf | sort -nr -k 3 | head -10

The above command helps to determine the top 10 processes affecting cpu utilization.


#cat /proc/cpuinfo

The above command gives you information about cpu of machine.

Please Leave us with your comments and Queries/Suggestions.
I will try to reply asap.

No comments:

Post a Comment