Skip to content

Instantly share code, notes, and snippets.

@jirihnidek
Created July 3, 2023 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jirihnidek/2269d97f9cc9be9dc74b310eceb9e2d0 to your computer and use it in GitHub Desktop.
Save jirihnidek/2269d97f9cc9be9dc74b310eceb9e2d0 to your computer and use it in GitHub Desktop.
WIP: output of dmidecode --json
{
"data":[
{
"header":{
"handle":0,
"type":0,
"length":24
},
"description":"BIOS Information",
"values":{
"vendor":"SeaBIOS",
"version":"1.16.2-1.fc38",
"release_date":"04\/01\/2014",
"address":"0xE8000",
"runtime_size":"96 kB",
"rom_size":"64 kB",
"characteristics":[
"BIOS characteristics not supported",
"Targeted content distribution is supported"
],
"bios_revision":"0.0"
}
},
{
"header":{
"handle":256,
"type":1,
"length":27
},
"description":"System Information",
"values":{
"manufacturer":"QEMU",
"product_name":"Standard PC (Q35 + ICH9, 2009)",
"version":"pc-q35-7.0",
"serial_number":"Not Specified",
"uuid":"4e2343f6-8dc9-4be5-8431-c20d2e7edcfd",
"wake-up_type":"Power Switch",
"sku_number":"Not Specified",
"family":"Not Specified"
}
},
{
"header":{
"handle":768,
"type":3,
"length":22
},
"description":"Chassis Information",
"values":{
"manufacturer":"QEMU",
"type":"Other",
"lock":"Not Present",
"version":"pc-q35-7.0",
"serial_number":"Not Specified",
"asset_tag":"Not Specified",
"boot-up_state":"Safe",
"power_supply_state":"Safe",
"thermal_state":"Safe",
"security_status":"Unknown",
"oem_information":"0x00000000",
"height":"Unspecified",
"number_of_power_cords":"Unspecified",
"sku_number":"Not Specified"
}
},
{
"header":{
"handle":1024,
"type":4,
"length":42
},
"description":"Processor Information",
"values":{
"socket_designation":"CPU 0",
"type":"Central Processor",
"family":"Other",
"manufacturer":"QEMU",
"id":"52 06 0A 00 FF FB 8B 0F",
"version":"pc-q35-7.0",
"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",
"serial_number":"Not Specified",
"asset_tag":"Not Specified",
"part_number":"Not Specified",
"core_count":"1",
"core_enabled":"1",
"thread_count":"1",
"characteristics":"None"
}
},
{
"header":{
"handle":1025,
"type":4,
"length":42
},
"description":"Processor Information",
"values":{
"socket_designation":"CPU 1",
"type":"Central Processor",
"family":"Other",
"manufacturer":"QEMU",
"id":"52 06 0A 00 FF FB 8B 0F",
"version":"pc-q35-7.0",
"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",
"serial_number":"Not Specified",
"asset_tag":"Not Specified",
"part_number":"Not Specified",
"core_count":"1",
"core_enabled":"1",
"thread_count":"1",
"characteristics":"None"
}
},
{
"header":{
"handle":4096,
"type":16,
"length":23
},
"description":"Physical Memory Array",
"values":{
"location":"Other",
"use":"System Memory",
"error_correction_type":"Multi-bit ECC",
"maximum_capacity":"2 GB",
"error_information_handle":"Not Provided",
"number_of_devices":"1"
}
},
{
"header":{
"handle":4352,
"type":17,
"length":40
},
"description":"Memory Device",
"values":{
"array_handle":"0x1000",
"error_information_handle":"Not Provided",
"total_width":"Unknown",
"data_width":"Unknown",
"size":"2 GB",
"form_factor":"DIMM",
"set":"None",
"locator":"DIMM 0",
"bank_locator":"Not Specified",
"type":"RAM",
"type_detail":"Other",
"speed":"Unknown",
"manufacturer":"QEMU",
"serial_number":"Not Specified",
"asset_tag":"Not Specified",
"part_number":"Not Specified",
"rank":"Unknown",
"configured_memory_speed":"Unknown",
"minimum_voltage":"Unknown",
"maximum_voltage":"Unknown",
"configured_voltage":"Unknown"
}
},
{
"header":{
"handle":4864,
"type":19,
"length":31
},
"description":"Memory Array Mapped Address",
"values":{
"starting_address":"0x00000000000",
"ending_address":"0x0007FFFFFFF",
"range_size":"2 GB",
"physical_array_handle":"0x1000",
"partition_width":"1"
}
},
{
"header":{
"handle":8192,
"type":32,
"length":11
},
"description":"System Boot Information",
"values":{
"status":"No errors detected"
}
},
{
"header":{
"handle":32512,
"type":127,
"length":4
},
"values":{
}
}
]
}
@jirihnidek
Copy link
Author

This is output of dmidecode --json from this PR: jirihnidek/dmidecode#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment