{"id":1874,"date":"2020-09-13T10:11:57","date_gmt":"2020-09-13T07:11:57","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=1874"},"modified":"2020-09-13T10:12:00","modified_gmt":"2020-09-13T07:12:00","slug":"3-best-open-source-tools-for-linux-system-monitoring","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/","title":{"rendered":"3 Best Open Source Tools for Linux system monitoring"},"content":{"rendered":"\n<p>Information is essential to resolving any pc problem, including issues with or associated with Linux and the equipment on which it works. There are various tools designed for and incorporated with most distributions despite the fact that they aren&#8217;t all set up by default. These tools may be used to get large sums of information.<\/p>\n\n\n\n<p>This article discusses a few of the interactive command line interface (CLI) tools that are given with or which may be easily installed on Red Hat related distributions including Red Hat Enterprise Linux, Fedora, CentOS, and other derivative distributions. Although there are GUI tools obtainable plus they offer good information, the CLI tools provide all the same information plus they are often usable because many servers don&#8217;t have a GUI interface but all Linux systems possess a command line interface.<\/p>\n\n\n\n<p>This article specializes in the tools that I take advantage of typically. If I didn&#8217;t cover your favorite device, make sure you forgive me and why don&#8217;t we all know very well what tools you make use of and just why in the responses section.<\/p>\n\n\n\n<p>My head to tools for problem determination in a Linux environment are nearly always the operational program monitoring tools. For me, they are top, atop, and htop.<\/p>\n\n\n\n<p>All of these equipment monitor CPU and memory usage, &amp; most of them list information regarding running processes at the very least. Some monitor other areas of a Linux system as well. All offer near real-time views of program activity.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Load_averages\" title=\"Load averages\">Load averages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Signals\" title=\"Signals\">Signals<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#3_open_source_tools_for_Linux_system_monitoring\" title=\"3 open source tools for Linux system monitoring\">3 open source tools for Linux system monitoring<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#top\" title=\"top\">top<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Summary_section\" title=\"Summary section\">Summary section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Process_section\" title=\"Process section\">Process section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#atop\" title=\"atop\">atop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Summary_section-2\" title=\"Summary section\">Summary section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Process_section-2\" title=\"Process section\">Process section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Configuration\" title=\"Configuration\">Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#htop\" title=\"htop\">htop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Summary_section-3\" title=\"Summary section\">Summary section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Process_section-3\" title=\"Process section\">Process section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.virtono.com\/community\/knowledgebase\/3-best-open-source-tools-for-linux-system-monitoring\/#Configuration-2\" title=\"Configuration\">Configuration<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Load_averages\"><\/span>Load averages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Before I continue to discuss the monitoring tools, it is necessary to go over load averages in greater detail.<\/p>\n\n\n\n<p>Load averages are a significant requirements for measuring CPU utilization, but what will this really mean when We say that the 1 (or 5 or 10) minute load typical is 4.04, for example? Load typical can be viewed as a way of measuring demand for the CPU; it really is a true number that represents the common number of instructions looking forward to CPU time. Therefore this is a genuine measure of CPU overall performance, unlike the typical &#8220;CPU percentage&#8221; which include I\/O wait times where the CPU is not actually working.<\/p>\n\n\n\n<p>For example, a completely utilized single processor system CPU could have a load average of 1. Which means that the CPU is maintaining precisely with the demand; quite simply it has perfect utilization. Lots average of significantly less than one means that the CPU is definitely underutilized and a load average in excess of 1 implies that the CPU can be overutilized and that there surely is pent-up, unsatisfied demand. For instance, a load ordinary of just one 1.5 in one CPU program indicates that one-third of the CPU instructions are forced to wait to be executed before one preceding it has finished.<\/p>\n\n\n\n<p>This is true for multiple processors also. If a 4 CPU system includes a load standard of 4 after that it has ideal utilization. If a load is had by it average of 3.24, for instance, then three of its processors are fully utilized and one is utilized in about 76%. In the example above, a 4 CPU system has a 1 minute load average of 4.04 and therefore there is absolutely no remaining capability among the 4 CPUs and some guidelines are forced to hold back. A perfectly utilized 4 CPU system would show lots average of 4.00 so that the program in the example is loaded but not overloaded fully.<\/p>\n\n\n\n<p>The optimum condition for load average is for this to equal the full total number of CPUs in something. That would imply that every CPU is utilized yet no instruction should be forced to wait fully. The longer-term load averages offer indication of the entire utilization trend.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Signals\"><\/span>Signals<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>All of the monitors discussed here allow you to send signals to running processes. Each of these signals has a specific function though some of them can be defined by the receiving program using signal handlers.<br>The separate kill command can also be used to send signals to processes outside of the monitors. The kill -l can be used to list all possible indicators that can be sent. Three of these signals may be used to kill a process.<br>\u2022 SIGTERM (15): Signal 15, SIGTERM is the default signal sent by top and the other monitors when the k key is pressed. It may also be the least effective because the system must have a signal handler built into it. The program&#8217;s signal handler must intercept incoming signals and act accordingly. So for scripts, most of which do not have transmission handlers, SIGTERM is ignored. The idea behind SIGTERM is that by simply telling the program that you want it to terminate itself, it will take advantage of that and clean up things like open files and then terminate itself in a controlled and nice manner.<br>\u2022 SIGKILL (9): Signal 9, SIGKILL provides a means of killing even the most recalcitrant programs, including scripts and additional programs that have no signal handlers. For scripts and various other programs with no signal handler, however, it not only kills the running script but it also kills the shell session in which the script is operating; this may not be the behavior that you would like. If you want to kill a process and you don&#8217;t care about being good, this is the transmission you want. This signal cannot be intercepted by a sign handler in the program code.<br>\u2022 SIGINT (2): Signal 2, SIGINT can be used when SIGTERM does not work and you want this program to die a little more nicely, for example, without killing the shell session in which it is running. SIGINT sends an interrupt to the program in which the program is running. This is equivalent to terminating a running plan, particularly a script, with the Ctrl-C key combination.<br>To experiment with this, open a terminal session and create a file in \/tmp named cpuHog and make it executable with the permissions rwxr_xr_x. Add the following content to the file.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>#!\/bin\/bash # This little program is a cpu hog X=0;while [ 1 ];do echo $X;X=$((X+1));done<\/p><\/blockquote>\n\n\n\n<p>Open another terminal program in a different windows, position them next to each other so that you can watch the total results and run top in the brand new session. Run the cpuHog system with the next command:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\/tmp\/cpuHog<\/p><\/blockquote>\n\n\n\n<p>This scheduled program simply counts up by one and prints the existing value of X to STDOUT. And it sucks up CPU cycles. The terminal program where cpuHog is operating should show an extremely high CPU use in top. Take notice of the effect it has on system overall performance in top. CPU usage should immediately go method up and the strain averages should also begin to increase over period. If you would like, you can open extra terminal sessions and begin the cpuHog plan in them so you have multiple situations running.<\/p>\n\n\n\n<p>Determine the PID of the cpuHog program you want to destroy. Press the k essential and appearance at the message beneath the Swap line in the bottom of the overview section. Top asks for the PID of the procedure you would like to kill. Enter that press and PID Enter. Now top requests the signal shows and quantity the default of 15. Try each one of the signals described here and take notice of the total results.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_open_source_tools_for_Linux_system_monitoring\"><\/span>3 open source tools for Linux system monitoring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"top\"><\/span>top<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Among the first tools I take advantage of when performing problem dedication is top. I love it because it &#8216;s been around since permanently and is always obtainable as the other tools might not be installed.<\/p>\n\n\n\n<p>The top program is an extremely powerful utility that delivers a lot of information regarding your running system. This consists of data about memory utilization, CPU loads, and a listing of running processes like the amount of CPU memory and time being employed by each process. Top displays system info in near real-time, updating (by default) every three seconds. Fractional mere seconds are allowed by best, although very small values can place a substantial load the operational system. Additionally it is interactive and the info columns to be shown and the type column could be modified.<\/p>\n\n\n\n<p>An example output from the very best system is shown in Figure 1 below. The output from top is split into two sections which are known as the &#8220;overview&#8221; section, which is the top portion of the result, and the &#8220;procedure&#8221; section which may be the lower part of the output; I shall use this terminology for top level, atop and htop in the curiosity of consistency.<\/p>\n\n\n\n<p>The top program includes a number of useful interactive commands you may use to control the display of data also to manipulate individual processes. Use the h command to see a brief help web page for the many interactive commands. Make sure to press h to see both pages of the help twice. Utilize the q command to give up.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary_section\"><\/span>Summary section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The summary portion of the output from top is an overview of the operational program status. The first series shows the system uptime and the 1, 5, and 15 minute load averages. In the example below, the strain averages are 4.04, 4.17, and 4.06 respectively.<\/p>\n\n\n\n<p>The next line shows the amount of processes active and the status of every currently.<\/p>\n\n\n\n<p>The relative lines containing CPU figures are shown next. There can be a single line which combines the figures for all CPUs within the operational system, as in the example below, or one collection for each CPU; in the full case of the computer utilized for the example, this is an individual quad primary CPU. Press the 1 essential to toggle between your consolidated display of CPU use and the screen of the average person CPUs. The info in these relative lines is displayed as percentages of the full total CPU time available.<\/p>\n\n\n\n<p>These and the various other areas for CPU data are described beneath.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>us: userspace \u2013<\/strong>&nbsp;Applications and other programs running in user space, i.e., not in the kernel.<\/li><li><strong>sy: system calls \u2013<\/strong>&nbsp;Kernel level functions. This does not include CPU time taken by the kernel itself, just the kernel system calls.<\/li><li><strong>ni: nice \u2013<\/strong>&nbsp;Processes that are running at a positive nice level.<\/li><li><strong>id: idle \u2013<\/strong>&nbsp;Idle time, i.e., time not used by any running process.<\/li><li><strong>wa: wait \u2013<\/strong>&nbsp;CPU cycles that are spent waiting for I\/O to occur. This is wasted CPU time.<\/li><li><strong>hi: hardware interrupts \u2013<\/strong>&nbsp;CPU cycles that are spent dealing with hardware interrupts.<\/li><li><strong>si: software interrupts \u2013<\/strong>&nbsp;CPU cycles spent dealing with software-created interrupts such as system calls.<\/li><li><strong>st: steal time \u2013<\/strong>&nbsp;The percentage of CPU cycles that a virtual CPU waits for a real CPU while the hypervisor is servicing another virtual processor.<\/li><\/ul>\n\n\n\n<p><br>The last two lines in the summary section are storage usage. They show the physical memory usage including both swap and RAM space.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Process_section\"><\/span>Process section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The process portion of the output from top is all of the running processes in the system-at least for the amount of processes that there is room on the terminal screen. The default columns shown by best are described below. Other columns can be found and each can be added with an individual keystroke usually. Refer to the very best man page for information.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>PID \u2013&nbsp;<\/strong>The Process ID.<\/li><li><strong>USER \u2013<\/strong>&nbsp;The username of the process owner.<\/li><li><strong>PR \u2013<\/strong>&nbsp;The priority of the process.<\/li><li><strong>NI \u2013<\/strong>&nbsp;The nice number of the process.<\/li><li><strong>VIRT \u2013<\/strong>&nbsp;The total amount of virtual memory allocated to the process.<\/li><li><strong>RES \u2013<\/strong>&nbsp;Resident size (in kb unless otherwise noted) of non-swapped physical memory consumed by a process.<\/li><li><strong>SHR \u2013&nbsp;<\/strong>The amount of shared memory in kb used by the process.<\/li><li><strong>S \u2013<\/strong>&nbsp;The status of the process. This can be R for running, S for sleeping, and Z for zombie. Less frequently seen statuses can be T for traced or stopped, and D for uninterruptable sleep.<\/li><li><strong>%CPU \u2013&nbsp;<\/strong>The percentage of CPU cycles, or time used by this process during the last measured time period.<\/li><li><strong>%MEM \u2013<\/strong>&nbsp;The percentage of physical system memory used by the process.<\/li><li><strong>TIME+ \u2013<\/strong>&nbsp;Total CPU time to 100ths of a second consumed by the process since the process was started.<\/li><li><strong>COMMAND \u2013&nbsp;<\/strong>This is the command that was used to launch the process.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"atop\"><\/span>atop<gwmw style=\"display:none;\"><\/gwmw><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>I like atop also. It is a fantastic monitor to use if you want more details about this kind of I\/O activity. The default refresh interval is usually 10 seconds, but this is often transformed using the interval i control to whatever is suitable for what you want to perform. atop cannot refresh at sub-second intervals like top can.<\/p>\n\n\n\n<p>Utilize the h command to show help. Make sure to observe that there are multiple webpages of help and you may utilize the space bar to scroll right down to see the rest.<\/p>\n\n\n\n<p>One good feature of atop is that it could save raw overall performance data to a document and play it back later on for close inspection. That is handy for searching for internmittent problems, especially ones that occur during occasions when you cannot monitor the system directly. The atopsar program can be used to play back again the info in the saved document.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary_section-2\"><\/span>Summary section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>atop contains a lot of the same info as best but also shows information regarding network, raw disk, and logical volume activity. Remember that for those who have the horizontal display real-estate to aid a wider display, extra columns will be displayed. Conversely, when you have much less horizontal width, fewer columns are shown. I also like this atop displays the existing CPU frequency and scaling factor-something I&#8217;ve not really seen on any additional of these monitors-on the next collection in the rightmost two columns.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Process_section-2\"><\/span>Process section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The atop process display includes a few of the same columns mainly because that for top, but it addittionally includes disk I\/O information and thread count for each process and also virtual and true memory growth statistics for every process. Much like the summary section, extra columns will display when there is adequate horizontal display real-estate.<\/p>\n\n\n\n<p>atop may also provide detailed information regarding disk, memory space, network, and scheduling info for each process. Simply press the d, m, n or s keys respectively to see that data. The g important returns the screen to the generic procedure display.<\/p>\n\n\n\n<p>Sorting could be accomplished easily through the use of C to sort simply by CPU use, M for memory usage, D for disk utilization, N for network use and A intended for automatic sorting. Automatic sorting generally sorts procedures by the most occupied resource. The network usage can only become sorted if the netatop kernel module is usually installed and loaded.<\/p>\n\n\n\n<p>You may use the k key to kill a process but there is absolutely no choice to renice an activity.<\/p>\n\n\n\n<p>By default, network and disk products that no activity occurs throughout a given period interval aren&#8217;t displayed. This can result in mistaken assumptions about the equipment configuration of the sponsor. The f command may be used to pressure atop to show the idle resources.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configuration\"><\/span>Configuration<gwmw style=\"display:none;\"><gwmw style=\"display:none;\"><\/gwmw><\/gwmw><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The atop man page identifies global and user level configuration files, but none are available in my very own Fedora or CentOS installations. Addititionally there is no control to save lots of an altered configuration and a save will not happen automatically when this program is terminated. Therefore, there is apparently now way to create configuration changes permanent.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"htop\"><\/span>htop<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The htop program is similar to top but on steroids. It can look nearly the same as top, but it additionally provides some features that top will not. Unlike atop, nevertheless, it does not offer any disk, network, or I\/O info of any type.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary_section-3\"><\/span>Summary section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The summary portion of htop is displayed in two columns. It is extremely flexible and may be configured with a number of different types of info in just about any order you prefer. Although the CPU utilization sections of best and atop can be toggled between a mixed display and a screen that presents one bar graph for each CPU, htop cannot. So that it includes a number of different alternatives for the CPU screen, including a single mixed bar, a bar for every CPU, and different combinations where specific CPUs could be grouped together right into a single bar.<\/p>\n\n\n\n<p>I think that is a cleaner overview display than a few of the other program monitors in fact it is easier to go through. The drawback to the summary section is usually that some information isn&#8217;t available in htop that&#8217;s available in the additional monitors, such as for example CPU percentages by consumer, idle, and system period.<\/p>\n\n\n\n<p>The F2 (Set up) key can be used to configure the overview section of htop. A listing of available data shows is demonstrated and you can make use of function keys to include them left or correct column also to move them along within the chosen column.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Process_section-3\"><\/span>Process section<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The process portion of htop is quite similar compared to that of top. Much like the other monitors, processes can be sorted some of several elements, including CPU or memory space usage, consumer, or PID. Remember that sorting is not feasible when the tree look at is selected.<\/p>\n\n\n\n<p>The F6 key enables you to choose the sort column; it shows a listing of the columns designed for sorting and you decide on the column you need and press the Enter essential.<\/p>\n\n\n\n<p>You may use the up and down arrow keys to select a process. To kill an activity, use the along arrow keys to choose the target procedure and press the k important. A list of indicators to send the procedure is displayed with 15, SIGTERM, selected. You can specify the transmission to use, if not the same as SIGTERM. You might utilize the F7 and F8 keys to renice the chosen process.<\/p>\n\n\n\n<p>One command We especially like is F5 which displays the working procedures in a tree format rendering it easy to look for the parent\/child associations of running processes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configuration-2\"><\/span>Configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Each user has their own configuration file, ~\/.config\/htop\/htoprc and changes to the htop configuration are stored there automatically. There is no global configuration file for htop.<gwmw style=\"display:none;\"><\/gwmw><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Information is essential to resolving any pc problem, including issues with or associated with Linux and the equipment on which it works. There are various tools designed for and incorporated with most distributions despite the fact that they aren&#8217;t all set up by default. These tools may be used to<\/p>\n","protected":false},"author":4,"featured_media":1946,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[85,86,83,84,82],"class_list":["post-1874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","tag-atop","tag-htop","tag-linux-monitoring","tag-monitoring","tag-top"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/09\/process-monitoring-1200x385-1.jpg?fit=1200%2C385&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-ue","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3885,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/network-troubleshooting-via-command-line\/","url_meta":{"origin":1874,"position":0},"title":"Network Troubleshooting via Command Line","author":"George B.","date":"September 16, 2023","format":false,"excerpt":"In this tutorial, we will explore how to use Linux command line options for network troubleshooting. The CLI, also known as the terminal or shell, allows users to execute commands directly, making complex tasks simpler. The Fundamentals It's important to understand what network troubleshooting entails before getting into the details.\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Linux-Network-Troubleshooting-via-Command-Line.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2147,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/cron-run-linux-tools-and-commands-at-boot\/","url_meta":{"origin":1874,"position":1},"title":"Cron: Run Linux tools and commands at boot","author":"Shreyash Sharma","date":"December 16, 2020","format":false,"excerpt":"The Cron task planner with the variable time specification \"@reboot\" is suitable for scripts and background programs that are to be executed when the system is started. There are tasks under Linux that would be basically simple\u00a0solution but is anything but trivial because of the differences between the Linux distributions.\u00a0This\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/cron-jobs.png?fit=800%2C500&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/cron-jobs.png?fit=800%2C500&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/cron-jobs.png?fit=800%2C500&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/12\/cron-jobs.png?fit=800%2C500&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3420,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tensorflow-on-linux\/","url_meta":{"origin":1874,"position":2},"title":"How to Install TensorFlow On Linux","author":"George B.","date":"May 29, 2023","format":false,"excerpt":"Whether you're an aspiring data scientist or a seasoned professional, knowing how to install TensorFlow on Linux distribution is crucial. In this tutorial, we will guide you through the installation process on popular Linux distributions such as CentOS, Ubuntu, AlmaLinux, and Rocky Linux. TensorFlow is a versatile and powerful open-source\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3875,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/linux-how-to-search-text-in-a-pdf-file-via-command-line\/","url_meta":{"origin":1874,"position":3},"title":"Linux: How to search text in a PDF file via Command Line","author":"George B.","date":"September 15, 2023","format":false,"excerpt":"In this tutorial, we will explain how to search text in a PDF file using Linux command-line options. One of Linux's many advantages is its command-line interface (CLI), which allows users to complete difficult tasks using short, text-based commands. Linux Basics It's essential to understand what a PDF file is\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-search-text-in-a-PDF-file-via-Command-Line.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":670,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/comparing-oss-centos-ubuntu-or-debian\/","url_meta":{"origin":1874,"position":4},"title":"Comparing OSs &#8212; CentOS, Ubuntu or Debian?","author":"Daniel Draga","date":"September 28, 2016","format":false,"excerpt":"CentOS \u009ewhich stands for Community Enterprise Operating System, is the result of a group of open source contributors and users working together to develop Linux solutions that are freely available to users who do not require a great deal of commercial support to achieve their goal. \u009eCentOS dedicated servers were\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/centos-debian-ubuntu-06.png?fit=400%2C300&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3425,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-krew-plugin-manager-for-kubectl-cli\/","url_meta":{"origin":1874,"position":5},"title":"How to Install Krew Plugin Manager for Kubectl CLI","author":"George B.","date":"May 30, 2023","format":false,"excerpt":"Did you know that you can enhance its functionality further with the Krew plugin manager? As a Linux user and a Kubernetes enthusiast, you understand the power and flexibility of the Kubectl CLI. Krew allows you to easily discover, install, and manage plugins for Kubectl, enabling you to streamline your\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-Krew-Plugin-Manager-for-Kubectl-CLI.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-Krew-Plugin-Manager-for-Kubectl-CLI.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-Krew-Plugin-Manager-for-Kubectl-CLI.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1874"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1874\/revisions"}],"predecessor-version":[{"id":1947,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1874\/revisions\/1947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1946"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}