Linux Tutorials

How you can set up htop on RHEL Eight utilizing yum

SEOClerks

I am a brand new consumer of Crimson Hat Enterprise Linux Eight. How do I set up htop on RHEL Eight utilizing the yum command?

Introduction – htop is nothing however Interactive course of viewer for RHEL (Crimson Hat Enterprise) Eight Linux . It is rather like default high command with a further set of choices and higher show on the display screen. This web page reveals easy methods to set up htop on RHEL Eight utilizing yum command.

Adblock detected 😱

My web site is made doable by displaying on-line ads to my guests. I get it! Advertisements are annoying however they assist hold this web site operating. It’s arduous to maintain the location operating and producing new content material when so many individuals block adverts. Please contemplate donating cash to the nixCraft through PayPal/Bitcoin, or change into a supporter utilizing Patreon.

How you can set up htop on RHEL Eight utilizing yum

The process for putting in htop on Crimson Hat Enterprise Linux Eight is as follows:

Open the terminal window.For distant RHEL Eight server login utilizing ssh command.Allow EPEL repo for RHEL Eight server or desktopExecute yum search htop command to seek for htop on RHEL 8Run sudo yum set up htop to put in htop in RHEL Eight

Allow us to see all steps and command in particulars.

sudo yum set up https://dl.fedoraproject.org/pub/epel/epel-release-latest-Eight.noarch.rpm
sudo yum replace

RHEL Eight set up htop

Allow us to seek for htop package deal utilizing yum command:
yum search htop

Pattern outputs:Final metadata expiration examine: Zero:07:38 in the past on Thursday 22 August 2019 04:46:52 PM UTC.
======================================================================== Identify Precisely Matched: htop ====
htop.x86_64 : Interactive course of viewer

Get details about htop package deal

Run the next command:
yum information htop
Pattern outputs:

Final metadata expiration examine: Zero:08:20 in the past on Thursday 22 August 2019 04:46:52 PM UTC.
Obtainable Packages
Identify : htop
Model : 2.2.Zero
Launch : 6.el8
Arch : x86_64
Dimension : 112 okay
Supply : htop-2.2.Zero-6.el8.src.rpm
Repo : epel
Abstract : Interactive course of viewer
URL : http://hisham.hm/htop/
License : GPLv2+
Description : htop is an interactive text-mode course of viewer for Linux, just like
: high(1).

Set up htop

Lastly, run the next to put in htop on RHEL Eight:
sudo yum set up htop
Install htop on RHEL 8 using yum commandPutting in htop on RHEL Eight utilizing yum command

How you can use htop command

The syntax is:
htop
htop [options]
htop [options] arg
Running htop on RHEL 8 Linux server
One can use a monochrome colour scheme, run:
htop -C
htop –no-color
Wish to see the tree view by default when operating htop? Strive:
htop -t
htop –tree
Allow us to see solely processes of a given consumer named vivek:
htop -u vivek
htop –user=vivek
htop –user=nginx
Restrict and present course of for under the given PIDs:
htop -p PID
htop -p PID1,PID2
–pid=PID,[,PID,PID…]
htop -p 1342
htop -p 7435,1367

htop keyboard shortcut keys

The next instructions are supported whereas in htop:

CommandDescriptionUp arrow keyChoose (spotlight) the earlier course of within the course of listing. Scroll the listing if obligatory.Down arrow keyChoose (spotlight) the following course of within the course of listing. Scroll the listing if obligatory.Left arrow keyScroll the method listing left.Proper arrow keyScroll the method listing proper.PgUp, PgDnScroll the method listing up or down one window.DwellingScroll to the highest of the method listing and choose the primary course of.FinishScroll to the underside of the method listing and choose the final course of.sHint course of system calls: if strace(1) is put in, urgent this key will connect it to the at present chosen course of, presenting a reside replace of system calls issued by the method.lShow open recordsdata for a course of: if lsof(1) is put in, urgent this key will show the listing of file descriptors opened by the method.uPresent solely processes owned by a specified consumer.MType by reminiscence utilization (high compatibility key).PType by processor utilization (high compatibility key).TType by time (high compatibility key).F“Observe” course of: if the type order causes the at present chosen course of to maneuver within the listing, make the choice bar comply with it. That is helpful for monitoring a course of: this manner, you may hold a course of all the time seen on display screen. When a motion key’s used, “comply with” loses impact.OkConceal kernel threads: forestall the threads belonging the kernel to be displayed within the course of listing. (This can be a toggle key.)HConceal consumer threads: on programs that characterize them in a different way than atypical processes (akin to current NPTL-based programs), this will cover threads from userspace processes within the course of listing. (This can be a toggle key.)pPresent full paths to operating packages, the place relevant. (This can be a toggle key.)Ctrl-LRfresh the display screen.F1See this assist menu.hSimilar as above.?Once more, identical as above.F10Stop htopqExit htop (identical as above)

How you can get assist about htop

Merely move the –help choice. For instance:
htop –help
man htop

Conclusion

This web page confirmed you easy methods to set up and use htop on RHEL Eight. For extra info see htop residence web page right here.

Posted by: Vivek Gite

The creator is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a coach for the Linux working system/Unix shell scripting. Get the newest tutorials on SysAdmin, Linux/Unix and open supply matters through RSS/XML feed or weekly e-mail publication.

Source link

Related Articles

Leave a Reply

Back to top button