In Linux, the top command is used to view a server’s processor activity in real-time. The htop command is an alternative to top, offering an easier interface featuring color, mouse operation, the ability to scroll through processes. In this video, we'll show how htop is overall more intuitive, although providing similar output as the regular top command.
Comments (2)
This is great.
FYI, the hosts.deny file defaults to ALL and SSH isn’t installed by default so you will have to ssh into via hostX.linode.com
ssh [email protected]
login as root
[code]pacman -Sy # synchronise the package databases
pacman -S openssh # install opensshd
echo sshd: ALL >>/etc/hosts.allow # allow access to it[/code]
alternatively, you could replace that last line with:
[code]echo ALL: ALL: ALLOW >>/etc/hosts.allow # allow all hosts through (essentially disabling the check)[/code]
then you’re going to want to edit /etc/rc.conf and find the daemons array close to the bottom (line 85), and edit it to include sshd, for example:
[code]DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond sshd)[/code]
You can also add your other daemons to that array (httpd, mysqld, etc) as long as it (or you) puts an rc script in /etc/rc.d/ that launches with the standard ‘[i]scriptname[/i] start’. You can put [i]scriptname[/i] into the daemons array to have it start/stopped on boot/shutdown.