Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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'm using top with tmux to monitor the most-CPU-consuming processes on different computers. How can I get the hostname to be displayed in each pane? Can I tell top to display the hostname somehow?

screenshot top+tmux

share|improve this question
Can you get tmux to display the pane titles? – Useless Nov 1 '12 at 15:53
Possibly, but if so it would likely cost me a full row in each pane, which is quite a lot of 'real estate' (I want to see it for each pane, not only for the active one, so the status-bar is not good enough) – gerrit Nov 1 '12 at 21:34
up vote 4 down vote accepted

As far as I see it, there is no possibility to do it in top. I would suggest using htop. If you open the programm press F2 and move with Tab to the column available meters. You'll find an entry hostname and can place it by pressing F5 or F6 to left or right side.

share|improve this answer
Hmm, that looks like an interesting improvement to top. I will check it out. – gerrit Nov 1 '12 at 21:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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