How to check the top Resource Consuming process/users under cPanel/WHM Server.The common command to check the resource will be "top" and we can use c,m,i,etc,..
Did you heard about the Tool name "atop" Resource monitoring tool ?
About aTop :
Did you heard about the Tool name "atop" Resource monitoring tool ?
About aTop :
ATOP is an advanced interactive monitoring tool to analyze the load and hardware resources on a Linux system. It shows the CPU, Memory, Disk and Network resource usages. Atop gives the resource occupation on system level followed by the information of processes that have been active during the time interval (10 seconds default).
How to Install atop inside the server ?
Login to your server using ssh (putty)
[~]# wget http://pkgs.repoforge.org/atop
[~]# yum install atop
Once the package has been installed you can enter the command "atop" to check the resource monitoring tool .
In an Atop window , various system activity reports can be generated by using different keys:
Key m : Memory consumption
Key d : Disk utilization
Key s : Scheduling information
Key v : Variable information
Key c : Command line
Key p : Accumulated per program
Key u : Accumulated per user
Key n : Network utilization
Key m : Memory consumption
Key d : Disk utilization
Key s : Scheduling information
Key v : Variable information
Key c : Command line
Key p : Accumulated per program
Key u : Accumulated per user
Key n : Network utilization
How to check old logs ?
When atop is installed, a cronjob is activated to run a background incarnation of atop that writes compressed samples to a log file in raw format.
These log files can be found in the directory /var/log/atop. When the command "atop -r" is started, today's log file will be shown. When specifying another date as argument, the concerning log file will be shown.
For example: To view log file corresponding to the date 23rd June 2012, you can use the following command:
These log files can be found in the directory /var/log/atop. When the command "atop -r" is started, today's log file will be shown. When specifying another date as argument, the concerning log file will be shown.
For example: To view log file corresponding to the date 23rd June 2012, you can use the following command:
[~]# atop -r 20120623

0 comments:
Post a Comment