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 running some programs on a server and I would like to know how much % cpu I'm taking up and how many cores are being utilised by my process.

To clarify, the server has 16 CPUs, all quad-core. I know about the top command, but that just continually reports CPU% between 80% and 100.2%.

I also tried mpstat -P ALL but I'm really not sure how to read this table.

share|improve this question
up vote 6 down vote accepted

When using top, press '1' and you should see the different CPUs (or VCPUS) and their load distribution. Probably top reports 80% but not all the CPUs are busy, with this option you should be able to see something else. On other hand you can try htop

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.