I have the following missing fields on my VMware guests running RedHat or CentOS 6:
Serial Number
Core Count
Frequency
Current Address Width
Logical CPUs
For physical hosts, the output of `dmidecode -t processor` differs quite a bit, so I wouldn't rely solely on it.
Attached are the outputs of /proc/cpuinfo and dmidecode -t processor from one of my VM guests, and from one of my physical hosts.
Also, the following line should be commented out or removed from Ocsinventory/Agent/Backend/OS/Linux/Archs/i386/CPU.pm:
otherwise the debug file complains:
[Thu Mar 6 15:26:27 2014][debug] runWithTimeout(): unexpected error: Undefined subroutine &Ocsinventory::Agent::Backend::OS::Linux::Archs::i386::CPU::Dumper called at /usr/local/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Archs/i386/CPU.pm line 88, <CPUINFO> line 38.
I have the following missing fields on my VMware guests running RedHat or CentOS 6:
Serial Number
Core Count
Frequency
Current Address Width
Logical CPUs
For physical hosts, the output of `dmidecode -t processor` differs quite a bit, so I wouldn't rely solely on it.
Attached are the outputs of /proc/cpuinfo and dmidecode -t processor from one of my VM guests, and from one of my physical hosts.
Also, the following line should be commented out or removed from Ocsinventory/ Agent/Backend/ OS/Linux/ Archs/i386/ CPU.pm:
-print Dumper($current);
+#print Dumper($current);
otherwise the debug file complains: :Agent: :Backend: :OS::Linux: :Archs: :i386:: CPU::Dumper called at /usr/local/ share/perl5/ Ocsinventory/ Agent/Backend/ OS/Linux/ Archs/i386/ CPU.pm line 88, <CPUINFO> line 38.
[Thu Mar 6 15:26:27 2014][debug] runWithTimeout(): unexpected error: Undefined subroutine &Ocsinventory:
and no CPU info is parsed.