5

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.

8

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

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.