Hide kernel threads: prevent the threads belonging the kernel to be displayed in the process list. When a movement key is used, “follow” loses effect. This is useful for monitoring a process: this way, you can keep a process always visible on screen. “Follow” process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. ![]() Sort by processor usage (top compatibility key). Sort by memory usage (top compatibility key). Show only processes owned by a specified user. Trace process system calls: if strace(1) is installed, pressing this key will attach it to the currently selected process, presenting a live update of system calls issued by the process.ĭisplay open files for a process: if lsof(1) is installed, pressing this key will display the list of file descriptors opened by the process. Scroll to the bottom of the process list and select the last process. Scroll to the top of the process list and select the first process. Scroll the process list up or down one window. Select (highlight) the next process in the process list. Select (highlight) the previous process in the process list. The following commands are supported while in htop: Command ![]() Limit and show process for only the given ~}$ htop -p ~}$ htop -p ~}$ htop ~}$ htop -p ~}$ htop -p 7435,1367 Amazon Linux AMI htop keyboard shortcut keys Let us see only processes of a given user named ~}$ htop -u ~}$ htop ~}$ htop -user=nginx One can use a monochrome color scheme, ~}$ htop ~}$ htop -no-color Want to see the tree view by default when running htop? ~}$ htop ~}$ htop -tree Name and summary matches only, use "search all" for everything. Sample outputs: Loaded plugins: priorities, update-motd, upgrade-helper Therefore type the following command to search for htop package using yum ~}$ yum search htop It is important that you know how to search for any packages. You need to type all commands after that prompt. Let us see all steps and examples in details for Amazon Linux AMI. Want to update htop? Run sudo yum update htop. ![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |