WMMON for multi-processors machine

If you use wmmon dockapp, the CPU stress meter shows the average of all processors. So if a processus takes all CPU on one processor, you don't see it. That's why i decided to patch wmmon for a better SMP machines management.

Of course, if the machine has only one processor, visually there is no change.

Otherwise there are two possible views:
  1. Each processor has his own CPU stress meter. The stress meter window is 10 pixels high. So this view is used only if your machine has less then 11 processors.

  2. This view is automatically used if your machine has more than 10 processors. There is two stress meter. One for the average and one for the more used CPU. Even if your have less than 11 processors, you can force this view with '-c' option.

The patch

wmmon patch: this patch was made for the debian package 'wmmon_1.0b2-14.deb'.

Screenshots

View 1

You can see the activity of the four processors.

View 2

The average is approximately equal to the max. This means that all processors are used approximately similarly.

Even if all processors are not used, there is a processus that takes all the CPU time on one processor.