htop command advantages. The color used in its output makes it much more comfortable to read than does the monochrome top output. The output of Htop command is highly customizable. Let’s now shift gears and see the various options that come with the htop utility tool. Header: The header section shows the CPU usage, memory usage, swap usage, load average, and system uptime. Delay . There is a great command line program aha that can be used to convert ANSI into HTML. Sorting output. Customize Htop Command Output. Htop Setup Menu – Press F2 or S. The following are the 4 high-level menu items available in htop setup. “htop -d x”. Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. htop is a powerful terminal-based system monitoring application that presents data of various system processes and their resource consumption in a human-readable, color-coded, easy-to-use format. The HTOP setup menu can be accesses using F2 key. For Fedora 22 and later # dnf install htop Using htop command. Ubuntu/Debian installation. It can be done by using the following: echo q | htop | aha --black --line-fix > htop.html Changing the Refresh rate of Output The -d option in the htop command allows its users to change the output refresh interval in terms of seconds. htop -d 10 9. $ uptime 12: 59: 09 up 32 min, 1 user, load average: 0.00, 0.01, 0.03 They are taken from the /proc/loadavg file. apt-get install aha Save htop output as HTML file. To change the refresh interval of the htop output, use the -d command line option. The first great thing about htop is that it will show you your usage per CPU, as well as a meaningful text graph of your memory and swap usage right at the top. The htop command supports multiple options that can be added to it, in the Linux terminal. # yum install htop. You can start htop in monochrome mode by invoking htop -C (uppercase C required, lowercase will not work) at the command line. The available options in htop … 1. Htop provides multiple options that you can use to sort your output. Using htop command, you can perform the following actions through pressing functional keys to monitor the system processes: Sort output. Meters – Change the behaviour of the meter bar in the header Syntax: sudo htop -d