{"id":10783,"date":"2024-12-10T06:47:01","date_gmt":"2024-12-10T06:47:01","guid":{"rendered":"https:\/\/blog.trustedhosting.in\/?p=10783"},"modified":"2026-04-14T13:09:17","modified_gmt":"2026-04-14T13:09:17","slug":"how-to-monitor-performance-with-atop","status":"publish","type":"post","link":"https:\/\/www.webystrata.com\/blog\/how-to-monitor-performance-with-atop\/","title":{"rendered":"How to Monitor performance with atop"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h1><a href=\"http:\/\/How to Monitor performance with atop\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11503 size-full\" title=\"How to Monitor performance with atop\" src=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2024\/12\/ChatGPT-Image-Apr-14-2026-06_38_32-PM.png\" alt=\"How to Monitor performance with atop\" width=\"1536\" height=\"1024\" srcset=\"https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2024\/12\/ChatGPT-Image-Apr-14-2026-06_38_32-PM.png 1536w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2024\/12\/ChatGPT-Image-Apr-14-2026-06_38_32-PM-300x200.png 300w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2024\/12\/ChatGPT-Image-Apr-14-2026-06_38_32-PM-1024x683.png 1024w, https:\/\/www.webystrata.com\/blog\/wp-content\/uploads\/2024\/12\/ChatGPT-Image-Apr-14-2026-06_38_32-PM-768x512.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/a><br \/>\nHow to Monitor performance with atop<\/h1>\n<p>A handy utility to monitor performance on a <a href=\"https:\/\/www.trustedhosting.in\/cpanel-hosting.html\" target=\"_blank\" rel=\"noopener\">server<\/a> is\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">atop<\/span><\/code>. Generally speaking this is a more detailed and interactive alternative to the\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">top<\/span><\/code>\u00a0utility.<\/p>\n<section id=\"installation\">\n<h2>Installation<\/h2>\n<p>You will need to install atop through the\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">yum<\/span><\/code>\u00a0utility. You can use the below command to install atop.<\/p>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<blockquote>\n<pre>  yum install atop\r\n<\/pre>\n<\/blockquote>\n<\/div>\n<\/div>\n<p>You may receive an error if the enabled repositories do not contain the atop package. This is explained in detail in the repository guide.<\/p>\n<p>You will need to ensure that the service is started and that is set to start on boot. If the service is not started then there will be no historic logging available. To do this you can use the below commands which will start the <a href=\"https:\/\/www.trustedhosting.in\/cpanel-hosting.html\" target=\"_blank\" rel=\"noopener\">service<\/a> and also set it to start on boot.<\/p>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<blockquote>\n<pre>  service atop start\r\n<\/pre>\n<\/blockquote>\n<\/div>\n<\/div>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<blockquote>\n<pre>  chkconfig atop on\r\n<\/pre>\n<\/blockquote>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"basic-live-activity-monitoring\">\n<h2>Basic live activity monitoring<\/h2>\n<p>To use the atop utility you will need to enter\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">atop<\/span><\/code>\u00a0while connected to the server over SSH. You will then be presented with a screen that contains information on all system resources such as CPU usage, memory usage and disk activity.<\/p>\n<p>By default this will auto refresh the information every 10 seconds. You can manually refresh using the\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">t<\/span><\/code>\u00a0command. By default the process list is ordered by CPU usage. You can change the ordering to use a variety of different values. For example, you can type\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">m<\/span><\/code>\u00a0which will order the process list by memory.<\/p>\n<p>There atop utility is very versatile and allows for a large variety of different monitoring such as grouping processes together using\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">p<\/span><\/code>\u00a0or viewing the command that is running using\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">c<\/span><\/code>. An exhaustive list of options can be found by looking at the man page for the atop package.<\/p>\n<\/section>\n<section id=\"basic-historic-monitoring\">\n<h2>Basic historic monitoring<\/h2>\n<p>The atop utility also allows historic server monitoring. To do this you will need to use the below command.<\/p>\n<div class=\"highlight-bash notranslate\">\n<div class=\"highlight\">\n<blockquote>\n<pre>  atop -r\r\n<\/pre>\n<\/blockquote>\n<\/div>\n<\/div>\n<p>This will look the same as the live monitoring but will start from the start of the current log, which is generally midnight of the current day. To step ahead in the log you will need to type\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">t<\/span><\/code>\u00a0which will take you one step ahead in the configured logging period. To take a step backwards, you will need to type\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">T<\/span><\/code>. You can also specify a specific time by typing\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">b<\/span><\/code>\u00a0followed by the desired time.<\/p>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; How to Monitor performance with atop A handy utility to monitor performance on a server is\u00a0atop. Generally speaking this&hellip;<\/p>\n","protected":false},"author":1,"featured_media":11503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-10783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/10783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/comments?post=10783"}],"version-history":[{"count":3,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/10783\/revisions"}],"predecessor-version":[{"id":11504,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/10783\/revisions\/11504"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media\/11503"}],"wp:attachment":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media?parent=10783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/categories?post=10783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/tags?post=10783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}