How to Change htop Update Delay on Ubuntu
This guide explains how to adjust the screen update delay in htop on Ubuntu. You will learn the keyboard shortcuts and configuration steps required to customize the refresh rate. Changing this setting helps reduce CPU usage or makes reading process data easier.
Using the Interactive Setup Menu
The most common way to change the refresh rate is through the built-in setup menu within the application.
- Open your terminal and launch htop by typing
htop. - Press the
F2key to open the Setup menu. - Use the arrow keys to navigate to the Delay field at the top of the menu.
- Press
Enterto edit the value. - Type the desired delay time in seconds (e.g.,
0.5for half a second or2for two seconds). - Press
Enterto save the change. - Press
F10to exit the Setup menu and return to the main view.
Using Command Line Arguments
You can also set the update delay when starting htop from the terminal using flags.
- Open your terminal.
- Run the htop command with the
-doption followed by the delay in deciseconds (tenths of a second). - For a 1-second delay, type:
htop -d 10 - For a 0.5-second delay, type:
htop -d 5 - Press
Enterto launch htop with the specified update rate.