News:

We really need your input in this questionnaire

Main Menu

Wrong CPU count on linux

Started by Marco Incalcaterra, November 25, 2013, 06:13:43 PM

Previous topic - Next topic

Marco Incalcaterra

Hi,

it seems that this counter:

System.CPU.Count

reports the wrong number of CPU (it reports one less than the real number). I tried it on two Linux distribution (ZeroShell 2.0RC2 and Debian 7 x64). It works properly on Windows (all flavours).

Do it is a bug or I'm doing something wrong?

Best regards,
Marco

Victor Kirhenshtein

It's hard to do something wrong here :) Definitely a bug, I'll check this.

Best regards,
Victor

Marco Incalcaterra

Quote from: Victor Kirhenshtein on November 25, 2013, 08:43:56 PM
It's hard to do something wrong here :) Definitely a bug, I'll check this.

Well, for the momenti I just added +1 in the transformation ;D

Marco

Alex Kirhenshtein

Could you please send me content of /proc/stat and /proc/cpuinfo from the affected server?

Marco Incalcaterra

Quote from: Alex Kirhenshtein on November 25, 2013, 10:43:18 PM
Could you please send me content of /proc/stat and /proc/cpuinfo from the affected server?

Hi Alex,

you can find here attached the requested info for Zeroshell and Debian.

Best regards,
Marco

Marco Incalcaterra

Hi Alex,

did you find anything interesting in the files I attached? I have the same behaviour also on a CentOS v. 5.10 (Kernel Linux 2.6.18-371.1.2.el5 on x86_64).

Best regards,
Marco

Alex Kirhenshtein

Yes, thanks, I found issue in linux subagent. I'll try to push this fix into 1.2.10.

Alex Kirhenshtein

Fixed in revision 906fa25, will be included in 1.2.10

Marco Incalcaterra