This might come across as a silly question but is there any shell that will allow me to get the system information as the shell is active? What I mean is a shell like bash or similar that will show me the current cpu,memory, io and network usage at the top or anywhere but being parallel to the console. Something like:

| CPU:3% I/O:4% Mem free: 1.5GB |
|                               |
|                               |
|                               |
| user@server ~ $: ls           |
| folder1 folder2 some_file1    |
| user@server ~ $:_             |

I'm looking for something that is console only so that I can get its statistics from say an ssh session.

  • Why do you want this? – ewwhite May 24 '15 at 18:15
  • @ewwhite Because I need to keep an eye on the web-server on high-load and high-traffic times and keeping multiple ssh windows open with each running different tools is a bit inefficient. – ddrjm May 24 '15 at 18:27
  • 1
    @ddrjm Watching a terminal for CPU and load information is also inefficient. Are you sure you're not looking for a simple monitoring/alerting solution? Something like Monit is very easy to install and is possibly the better way to keep track of these conditions. – ewwhite May 24 '15 at 18:34
  • @ewwhite Monit sounds great but is it secure as in, needing to auth and maybe go to a specific port to check the system? – ddrjm May 24 '15 at 19:04

Have a look at byobu - its customizable to your needs and also comes with a good default configuration.

  • Mind = blown. This might just be what I'm looking for. Can this be used via ssh? I'm currently running windows and this would help cut the number of putty windows down by a lot – ddrjm May 24 '15 at 18:29
  • @ddrjm byobu is a wrapper for screen / tmux and it can be used by ssh (if it runs on the remote host). – lgaggini May 25 '15 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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