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

You know that we can use the command top to monitor the real-time CPU usage and toggle the result display to the per-processor view by pressing key 1. The disadvantage of it is you can only monitor either the whole CPU usage or each processor usage. That is, you can't see them simultaneously. Does anyone know this?

I know that we can use alternative commands such as mpstat or sar to do the job. But unfortunately, neither of them is available on our system and no chance can we install them.

share|improve this question

htop can. But you need setup it at first run for that purpose. For that hit F2 -> and addto left column CPU average bar and all cpus bar.

share|improve this answer

You can run two terminals side-by-side. Or, if that isn't an option, run screen to split a single terminal.

share|improve this answer

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.