HTOP for Raspberry Pi
You’ve set up your Homebridge server, have a Pi acting as a CUPS printer server or covertly installed the Pi with an old stereo now serving as Airplay relay device. Things are getting a bit laggy or unresponsive, first step after rebooting the device is to SSH in, and install HTOP.
HTOP is an alternative to top, a ‘table of process’ task manager, HTOP benefits from a semi graphical interface showing processor, memory and swap usage in the upper section of the screen, and rolling running process review in the bottom two thirds.
sudo apt-get install htop
Will start the process, of downloading the package and installing it.
Once its installed, its just a case of running ‘sudo htop’ to get the process working and ctrl+c will stop it.