How to Add Columns to htop in Ubuntu Linux
This article provides a quick overview of customizing the htop system monitor on Ubuntu. It details the specific keystrokes required to open the setup menu, select new data fields, and save your configuration to enhance process visibility.
Launch htop
Open your terminal application. Type the following command and press Enter to start the program:
htopIf htop is not installed, install it using
sudo apt install htop.
Open the Setup Menu
Once htop is running, press the F2 key on your keyboard. This opens the Setup configuration screen where you can modify display options.
Select the Columns Tab
Use the arrow keys to navigate to the Columns tab at the top of the Setup menu. Press Enter to select it if it is not already active. This section lists all available data fields you can display.
Add New Columns
On the left side, you will see available columns. On the right, you will see currently active columns.
- Highlight the column you wish to add in the left list.
- Press the F5 key or the Insert key to add it to the active list on the right.
- Use the F6 key or the Delete key to remove columns you no longer need.
- Use the Up and Down arrow keys to rearrange the order of the active columns.
Save and Exit
After configuring your desired columns, press the F10 key to save the changes and return to the main htop display. Your new columns will now be visible in the process list.