Ryan
03/31/2023, 2:21 PMcpu_info
table? I opened a GitHub issue about it, but might be easier to chat here: https://github.com/osquery/osquery/issues/7976Stefano Bonicatti
03/31/2023, 2:45 PMcpu_info
table takes its information from the SMBIOS tables, which in a virtualized system are emulated. Maybe that information is missing.sudo dmidecode -t processor
gives; also running osquery with --verbose
might provide more information if something is not working.Ryan
04/03/2023, 8:34 AMosquery> select * from cpu_info;
I0403 08:35:27.250139 27557 smbios_tables.cpp:106] Reading SMBIOS from sysfs DMI node
dmidecode
command:
$ sudo dmidecode -t processor
# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.
Handle 0x1001, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: Google
ID: 57 06 05 00 FF FB 8B 1F
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Handle 0x1002, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU 2
Type: Central Processor
Family: Other
Manufacturer: Google
ID: 57 06 05 00 FF FB 8B 1F
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Handle 0x1003, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU 3
Type: Central Processor
Family: Other
Manufacturer: Google
ID: 57 06 05 00 FF FB 8B 1F
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Handle 0x1004, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU 4
Type: Central Processor
Family: Other
Manufacturer: Google
ID: 57 06 05 00 FF FB 8B 1F
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Stefano Bonicatti
04/06/2023, 6:28 PMRyan
04/11/2023, 9:42 AM