Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a Dell 1950 Poweredge server with two Quad Core Intel Xeon 2.33 GHZ and 16 GB of RAM under Gentoo Linux. I'm running heavy calculation task which I don't know how they were implemented ...

Top gives my partial infos (%CPU, ...) but I don't know if the script is running on the 2 CPUs

I would like to monitor both CPU load/activity (like top does for the entire system) to see if the script takes advatage of the dual CPU or not ?

Except recoding the script, how to optimize the payload for 2 CPU ?

share|improve this question
up vote 3 down vote accepted

When running top press the '1' key for per-cpu info.

share|improve this answer

Note that if you've got 2 quad core processors, you've actually got 8 CPUs.

Optimizing serial jobs for parallel processing is a non trivial exercise.

Can you split the calculation into 8 parts and run 8 copies of the script on the separate data ranges?

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.