The current sort field is indicated by a highlight in the header. On sorted view, select a field for sorting, also accessible through Up and Down arrow keys. Sorting of processes can be done through F6 SortBy option. The F4 Filter option again and press Esc. Through F4 Filter option, processes are filtered and only processes whose names match will be shown. While in htop utility tool, the following commands are used to interact with processes. Output version information and exit -v -versionĭisplay a help message and exit -h -help Show only the processes of a given user -u -user=USERNAME Show only the given PIDs -p -pid=PID,PID. Start htop in monochrome mode -C -no-color -no-colourĭelay between updates, in tenths of seconds -d -delay=DELAY INTERACTIVE COMMANDS This is where we can use various options in htop utility tool.Color is helpful in identifying specific information and is generally pleasing to the eye. Colors and graphs, oh my The first thing to notice is the color inclusion. COMMAND-LINE OPTIONS This is where we can interact with htop command in CLI. To install, just run: sudo dnf install htop You can see the command output in full in this article's title image, but we will break it down section by section as we go along.Let’s now see various uses of htop command in Linux to view processes. This section displays different htop options. When htop is successfully installed in your system, launch your terminal and execute htop command. The current releases support Linux, FreeBSD, OpenBSD, DragonFly BSD, MacOSX and Solaris. On Fedora Linux 22 and above dnf install htop How to use htop Command in Linux Since version 2.0, htop is now cross-platform Check out the video and slides of Hisham's presentation at FOSDEM 2016 about how this came to be. On RHEL/CentOS 6.x Linux and above yum install htop To install htop execute the following commands: Yum list installed htop Installed PackagesĪnd if not installed you will obtain the following output: Error: No matching Packages to listĭnf list installed htop Installed Packages Use dpkg -info (= dpkg-deb -info) to examine archive files. If it’s installed you will obtain the following output:ĭepends: libc6 (>= 2.15), libncursesw6 (>= 6), libtinfo6 (>= 6)Īnd if not installed you will obtain the following output: dpkg-query: package 'htop' is not installed and no information is available
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |