data similar to dmidecode
Binulal_Narayanan at Dell.com
Binulal_Narayanan at Dell.com
Thu Feb 14 04:18:58 CST 2008
Is is possible to get dmidecode kinda information from libsmbios?
I'm having a hard time to traverse the smbios table gotten out of:
-----------------------------------------------------------------
from pysmbios import *
table = SmbiosFactory.getFactory().getSingleton()
-----------------------------------------------------------------
I'm looking info like:
magicbox:/# dmidecode -t 17
# dmidecode 2.8
SMBIOS 2.3 present.
Handle 0x1100, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 256 MB
Form Factor: DIMM
Set: None
Locator: DIMM_1
Bank Locator: Not Specified
Type: SDRAM
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Handle 0x1101, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_2
Bank Locator: Not Specified
Type: SDRAM
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Handle 0x1102, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_3
Bank Locator: Not Specified
Type: SDRAM
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Handle 0x1103, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM_4
Bank Locator: Not Specified
Type: SDRAM
Type Detail: Synchronous
Speed: 333 MHz (3.0 ns)
Thanks in advance
Binoo
More information about the libsmbios-devel
mailing list