Jump to content

How to install htop on FreeBSD 9


Recommended Posts

htop is like top, but with more information and more user friendly as well as a cleaner UI. This tutorial assumes you've already updated your ports and you have a working internet connection. This should work on atleast version 8 and 9 and most likely later versions.
 
Make sure you're a root user before continuing...
 
 
1. Loading Linux binary compatibility:

kldload linux

2. Editing rc.conf

ee /etc/rc.conf

Add the following line:

linux_enable="YES"

Save and exit.
 
3. Installing Linux Base F10:

cd /usr/ports/emulators/linux_base-f10
make install clean

4. Editing fstab:

ee /etc/fstab

Add the following line (those are tabs, not spaces):

linproc /compat/linux/proc   linprocfs   rw   0   0

Image:

Spoiler

292227RgEpDN6.png


 
Save and exit.
 
5. Mount linproc

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

6. Install lsof:

pkg_add -r lsof

7. Install htop

cd /usr/ports/sysutils/htop
make -DBATCH install clean

 
 
To use htop, just type "htop"..

 

292227nMpOofh.png

  • Love 4
Link to comment
Share on other sites

  • 2 weeks later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.