Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

How to install htop

Adrian Singer, 04-20-2014
htop is an interactive process viewer for Linux, replacing the traditional top.

Why htop?

htop provides a more interactive process-viewing experience. You can surf through running processes, scrolling horizontally and vertically to reveal information that would otherwise have been clipped, information such as full command lines.

You can see what files a process has open (click "l"); you can even trace processes using strace. There's also a handy tree view for understanding process ancestry.

Installing on Linux

CentOS:


yum install htop

Debian:


sudo apt
-get install htop

Installing on FreeBSD

Step 1:

Add the following line to /etc/fstab:


linproc
/compat/linux/proc linprocfs rw 0 0

Step 2:

Create a symbolic link for /usr/compat


mkdir
-p /usr/compat/linux/proc ; ln -s /usr/compat /compat ; mount linproc

Step 3:

Compile and install


cd
/usr/ports/sysutils/htop
make install
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions