Commands.page Logo

How to Search for Processes in htop on Ubuntu

This guide outlines the specific keyboard shortcut required to search for running processes within the htop system monitor on Ubuntu. It provides a brief overview of activating the search function and managing the filter to locate specific tasks quickly.

To search for a process in htop, press the F3 key on your keyboard. Alternatively, you can press the / (forward slash) key to initiate an incremental search. Once pressed, a search prompt will appear at the bottom of the terminal window.

Type the name of the process you wish to find, such as “nginx” or “python”. htop will automatically highlight and filter the list to show matching results as you type. Press Enter to confirm the search or Esc to cancel the operation.

To clear the search filter and view all processes again, press F3 or / again and delete the search term, or simply press Esc while the search bar is active depending on your version configuration. Using these shortcuts allows for efficient system monitoring without needing to scroll through long lists manually.