{"id":30056,"date":"2021-01-18T03:01:18","date_gmt":"2021-01-17T19:01:18","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=30056"},"modified":"2022-09-08T21:36:43","modified_gmt":"2022-09-08T13:36:43","slug":"how-to-check-memory-usage-on-a-linux-server","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-check-memory-usage-on-a-linux-server","title":{"rendered":"HOW TO: Check memory usage on a Linux server"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"30056\" class=\"elementor elementor-30056\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1c843aa elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1c843aa\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a0266f8\" data-id=\"a0266f8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-60afa6f elementor-widget elementor-widget-heading\" data-id=\"60afa6f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Check memory usage on a Linux server<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2bf85c5 elementor-widget elementor-widget-heading\" data-id=\"2bf85c5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">i) cPanel\/WHM<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cac4441 elementor-widget elementor-widget-text-editor\" data-id=\"cac4441\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>There are a few ways to check your memory usage of Linux <a href=\"https:\/\/www.casbay.com\/asia-dedicated-server\/malaysia\">Dedicated <\/a>or <a href=\"https:\/\/www.casbay.com\/vps-hosting-malaysia\">Vitual Server<\/a> in WHM or cPanel control panels. You may check the general overview of the server status via <strong>WHM &gt; Server Information and WHM &gt; Service Status<\/strong>, which also includes information about memory usage. For your reference:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a095501 elementor-widget elementor-widget-image\" data-id=\"a095501\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-1-cPanelWHM-Server-configuration.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cc1d766 elementor-widget elementor-widget-image\" data-id=\"cc1d766\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-1-Server-Information.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-011b391 elementor-widget elementor-widget-image\" data-id=\"011b391\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-1-Server-Status-Service-Status.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b4022a elementor-widget elementor-widget-heading\" data-id=\"4b4022a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">ii) SSH Tools<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-114e817 elementor-widget elementor-widget-text-editor\" data-id=\"114e817\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>There is a variety of different common SSH tools that can provide memory-related information. We will provide a few most common and useful tools, which would be present in pretty much any <a href=\"https:\/\/www.gnu.org\/home.en.html\" rel=\"noopener\">GNU<\/a>\/Linux system.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f6447f elementor-widget elementor-widget-heading\" data-id=\"2f6447f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\"># free<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e4b242b elementor-widget elementor-widget-text-editor\" data-id=\"e4b242b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This tool is one of the most basic, simple and fast ways to check overall memory usage via the command line. Its purpose is to show the amount of free memory available in the system: both physical and swap memory, and any buffers used by kernel. When you run this command, you will see something like this:\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b772d85 elementor-widget elementor-widget-image\" data-id=\"b772d85\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-free-1.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a16def6 elementor-widget elementor-widget-text-editor\" data-id=\"a16def6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>Here are the columns displayed:<\/strong><br \/><br \/><strong>Total:<\/strong> specifies the actual amount of physical RAM and swap available in the system<br \/><strong>Used:<\/strong>\u00a0shows how much is currently used by the system and its processes<br \/><strong>Free:<\/strong> shows the amount of memory that is not occupied at the moment<br \/><strong>Shared<\/strong>,\u00a0<strong>buffers<\/strong>\u00a0and\u00a0<strong>cache:<\/strong>\u00a0shows the amount of memory used by kernel for particular purposes, such as shared between different processes or allocated to cache.<\/p><p>There is one nuance you would want to take into account when analyzing the output of the free command. You might occasionally notice very small values for Mem line in the free column. Does it mean there is no free RAM in the system? In most cases, it actually does not since Linux-based systems often use cache for many processes to speed up and optimize programs performance. Only free memory is used for cache, and the system can always clear and replace content of the memory used for cache if there is such a need per requests of other running processes, so it does not actually have any negative impact on the performance.<\/p><p>So, the memory currently occupied by cache is technically not free, but practically can be freed at any moment. If you would like to check how much memory is actually available for processes in your system, take a look at\u00a0<strong>-\/+ buffers\/cache\u00a0<\/strong>line, free column. This field displays the amount of technically free memory plus currently cached and buffered memory, therefore, it is a more accurate representation of memory currently available for new processes if such a need arises.<\/p><p>Free command has a few parameters that may be useful. By default, the command displays the output shown in the screenshot. If you add\u00a0<strong>-m<\/strong>\u00a0or\u00a0<strong>-g<\/strong>\u00a0after the command, you will get the stats displayed in MB or GB correspondingly. In the modern versions of the free tool you can also use\u00a0<strong>-h,<\/strong>\u00a0and the tool will automatically use the most convenient units, like this:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2691ae2 elementor-widget elementor-widget-image\" data-id=\"2691ae2\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-free-2.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ab456a3 elementor-widget elementor-widget-heading\" data-id=\"ab456a3\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\"># vmstat<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-247f7bc elementor-widget elementor-widget-text-editor\" data-id=\"247f7bc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This tool displays information about the current virtual memory usage: processes, memory, paging, disks and CPU statistics. When running this command, you will see three lines, first describing the particular sections of the table, second specifies the values displayed, third provides the actual stats at the moment of checking. If you need to check the usage from time to time, you can also add two numbers after the command to specify the delay in seconds between each check and the number of overall checks (if not specified, the checks are infinite until you end the process). Here is an example of the output:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bb04876 elementor-widget elementor-widget-image\" data-id=\"bb04876\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-vmstat-1.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-80de312 elementor-widget elementor-widget-text-editor\" data-id=\"80de312\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The first two lines provide the information on the organization of the table.<\/p><p><strong>Procs<\/strong>\u00a0shows information about processes:\u00a0<strong>r<\/strong>\u00a0means the number of processes running or waiting for run time,\u00a0<strong>b<\/strong>\u00a0means processes sleeping.<\/p><p><strong>Memory<\/strong>\u00a0section:\u00a0<strong>swpd<\/strong>\u00a0shows virtual memory used,\u00a0<strong>free<\/strong>\u00a0shows idle memory,\u00a0<strong>buff<\/strong>\u00a0and\u00a0<strong>cache<\/strong>\u00a0display memory allocated to buffers and cache correspondingly.<\/p><p>Two values in the\u00a0<strong>swap<\/strong>\u00a0section display amounts of data swapped to (<strong>si<\/strong>) and from (<strong>so<\/strong>) disk per second. Two values in the\u00a0<strong>IO<\/strong>\u00a0section show Input\/Output stats for the drive: received from (<strong>bi<\/strong>) and sent to (<strong>bo<\/strong>) it.<\/p><p>In the\u00a0<strong>system<\/strong>\u00a0section\u00a0<strong>in<\/strong>\u00a0stands for interrupts per second, and\u00a0<strong>cs\u00a0<\/strong>is the abbreviation for context switches.<\/p><p><strong>CPU<\/strong>\u00a0shows percentages of processor usage:<\/p><p><strong>us:<\/strong>\u00a0usage by user-launched code as opposed to system processes<br \/><strong>sy:<\/strong>\u00a0usage by the actual system kernel<br \/><strong>id:<\/strong>\u00a0idle CPU time<br \/><strong>wa:<\/strong>\u00a0time spent waiting for Input\/Output<br \/><strong>st:<\/strong>\u00a0time stolen from a virtual machine<\/p><p>This tool also provides another way to structure this information. Feel free to use the\u00a0<strong>-s<\/strong> parameter to display stats:\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e295a1 elementor-widget elementor-widget-image\" data-id=\"7e295a1\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-vmstat-2.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a9b214d elementor-widget elementor-widget-heading\" data-id=\"a9b214d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\"># ps<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-68a5756 elementor-widget elementor-widget-text-editor\" data-id=\"68a5756\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>By default, this tool shows the processes currently launched and additional information on them. Here is an example of the output:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-059830c elementor-widget elementor-widget-image\" data-id=\"059830c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-ps-1.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c725455 elementor-widget elementor-widget-text-editor\" data-id=\"c725455\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The output does not show any memory-related information, only the processes ran by the actual user starting the command. The real strength of this tool lies in its parameters. For instance, you can use\u00a0<strong>-e<\/strong>\u00a0to display processes of all users,\u00a0<strong>-o<\/strong>\u00a0to display data in a custom format and list a value like\u00a0<strong>vsz<\/strong>\u00a0in the formatting to display the size of virtual memory allocated for the process (expressed in kilobytes), or\u00a0<strong>pmem<\/strong>\u00a0to display percentage memory usage by a particular process. So, for\u00a0<strong>ps -eo pid,pmem,comm=<\/strong>\u00a0the output may be something like this:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2fb802d elementor-widget elementor-widget-image\" data-id=\"2fb802d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-ps-2.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e1e927a elementor-widget elementor-widget-text-editor\" data-id=\"e1e927a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Here are a few examples with combining\u00a0<strong>ps<\/strong>\u00a0tool and standard\u00a0<strong>sort<\/strong>\u00a0tool to display the output of the command in a more usable way:<br \/><strong><br \/>ps -eo pid,pmem,comm= | sort -n -k 2<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b416a43 elementor-widget elementor-widget-image\" data-id=\"b416a43\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-ps-eo-pidpmemcomm.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c0d5c02 elementor-widget elementor-widget-text-editor\" data-id=\"c0d5c02\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>ps -eo pid,vsz,comm= | sort -n -k 2<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8bb3a23 elementor-widget elementor-widget-image\" data-id=\"8bb3a23\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-ps-eo-pidvszcomm.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1731beb elementor-widget elementor-widget-text-editor\" data-id=\"1731beb\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This will display the processes run by users (which the current shell is allowed to check) in a user-defined format (process ID, memory usage, command name), and also sorted by the amount of memory used.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-73bcaaa elementor-widget elementor-widget-heading\" data-id=\"73bcaaa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\"># top, htop <\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f347067 elementor-widget elementor-widget-text-editor\" data-id=\"f347067\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>When you need to monitor resource usage of your system in real time, it is better to use tools that natively support constantly refreshing output of data, or even an interactive interface to modify the current workflow of the system. The output of the commands also includes information about memory usage and allows to sort through processes in different ways.<\/p><p>The output of memory-related sections of the tools is similar to the output of the free tool.<\/p><p><strong>top<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-18988aa elementor-widget elementor-widget-image\" data-id=\"18988aa\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-tophtop-top.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-af9e9f3 elementor-widget elementor-widget-text-editor\" data-id=\"af9e9f3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>You can use\u00a0<strong>h<\/strong>\u00a0or\u00a0<strong>?<\/strong>\u00a0to bring up the help menu and the\u00a0<strong>q<\/strong>\u00a0key to quit the program.\u00a0<strong>PageUp<\/strong>\u00a0and\u00a0<strong>PageDown<\/strong>scroll through the output. The\u00a0<strong>m<\/strong>\u00a0key shows or hides memory-related information.\u00a0<strong>Shift + M<\/strong>\u00a0sorts the processes by memory usage.<\/p><p><strong>htop<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-eaaf409 elementor-widget elementor-widget-image\" data-id=\"eaaf409\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/Linux-server-2-SSH-Tools-tophtop-htop.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d8ec80c elementor-widget elementor-widget-text-editor\" data-id=\"d8ec80c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Once again, feel free to use\u00a0<strong>h<\/strong>\u00a0or\u00a0<strong>?<\/strong>\u00a0to see the list of keys used by the tool, and\u00a0<strong>Shift + M<\/strong>\u00a0sorts the processes by memory usage, but you can also use\u00a0<strong>F1-F10<\/strong>\u00a0menus you can see at the bottom to access different more visual ways of controlling processes in your system.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-67e9577 elementor-widget elementor-widget-text-editor\" data-id=\"67e9577\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Check out next article on <a href=\"https:\/\/www.casbay.com.my\/guide\/kb\/how-to-change-the-language-in-your-whm\/\">HOW TO: Change the language in your WHM.<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Check memory usage on a Linux server i) cPanel\/WHM There are a few ways to check your memory usage of Linux Dedicated or Vitual Server in WHM or cPanel control panels. You may check the general overview of the server status via WHM &gt; Server Information and WHM &gt; Service Status, which also includes information [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30056"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=30056"}],"version-history":[{"count":60,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30056\/revisions"}],"predecessor-version":[{"id":36942,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30056\/revisions\/36942"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=30056"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=30056"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=30056"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=30056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}