Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a desktop at my house that has a SSH shell running htop that i use to keep an eye on my remote server.

Do you know of any other tools that run in a shell that give more of an overview of the general server?

Which maybe monitors online users, mysql, email etc...


migration rejected from Feb 12 '15 at 13:54

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as not constructive by splattne Jan 20 '12 at 9:48

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

That kind of monitoring may be better handled by a daemon type process such as Munin or Nagios. These can provide alerts when things begin to go wrong, and don't require someone to always look at them. Both the above tools use a web interface for montoring. Munin provides good graphical history out of the box.

From the command line, there are a variety of tools. I not aware of any swiss army knife monitors of the kind you are looking for. The various tools you have all have commands which will give you the information you want, but not in a merged format. uptime, mailq, mysqladm and others will give you pieces. You could script a monitor which runs all of command tools, and loops with some sort of timeout. However, I believe you would be better off with Munin.


dstat doesn't do all of that, but what it does, it does well.


I use nmon for network/disk io/memory information at home (as my home server is an old netbook and as such does not have the resources to run nagios and/or cacti).

If you have a bit more resources, nagios + cacti could be a good choice.


Although I'm unaware of a single cli based program that will provide all the information you requested, there are dozens of tools that can give you a good idea as to the state of the server. Some of the more common of these are: ps (try ps auxf), top (sort running processes by their cpu usage, memory usage, running time etc), netstat (try netstat -taunp), w (see who is logged in and what they're doing).

For more interesting hardware monitoring, on Ubuntu you can use the sysstat package to provide commands such as mpstat (cpu), iostat (disk), vmstat (memory) information for monitoring physical hardware.

Finally, there are a number of tools available which allow you to setup a web interface to perform monitoring of your server which can provide data you are specifically interested in (CPU utilisation, memory usage, disk io, network io, "number of emails sent", "number of records in a particular table") using one of many monitoring tools. I'd suggest Nagios as a starting point.


Not the answer you're looking for? Browse other questions tagged or ask your own question.