Applicable to:
- Plesk for Linux
Question
How to check what process loads CPU, memory and other system resources in a period of time using atop utility?
Answer
-
Install
atop
package:-
For RHEL/CentOS :
# yum install epel-release
# yum install atop
-
For Debian/Ubuntu :
# apt-get install atop
-
-
Start
atop
service to begin automatic system resources logging:# service atop start
Note: atop automatically creates a task in cron to begin logging at midnight if it is not running.
-
Adjust interval to the preferences:
-
For RHEL/CentOS :
Modify
INTERVAL=<value>
in/etc/sysconfig/atop
-
For Debian/Ubuntu :
Modify
INTERVAL=<value>
in/etc/init.d/atop
-
-
Logged data might be opened via the command:
# atop -r /var/log/atop/atop_<date>
To move between intervals use arrow buttons or hotkeys t and Shift+T .
Note: For more information on available hotkeys refer to the atop manual page .
Comments
0 comments
Please sign in to leave a comment.