ubuntu@201306-13868:~$ sudo dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | jq '[.[0]."_attributes" + {"category": .[0]."category"}, .[1]."_attributes" + {"category": .[1]."category"}]' error: syntax error, unexpected QQSTRING_START, expecting IDENT [.[0]."_attributes" + {"category": .[0]."category"}, .[1]."_attributes" + {"category": .[1]."category"}] ^ 1 compile error Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'> BrokenPipeError: [Errno 32] Broken pipe ubuntu@201306-13868:~$
ubuntu@201306-13868:~$ sudo dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode [ { "_attributes": { "bios_address": "0xE0000", "bios_bios_revision": "1.4", "bios_firmware_revision": "1.4", "bios_release_date": "10/04/2016", "bios_rom_size": "6656 kB", "bios_runtime_size": "128 kB", "bios_vendor": "Dell Inc.", "bios_version": "A14" }, "category": "BIOS" }, { "_attributes": { "system_family": "Shark Bay ULT", "system_name": "Inspiron 7537", "system_sku_number": "Inspiron 7537", "system_uuid": "4C4C4544-0000-0010-8000-80C04F000000", "system_vendor": "Dell Inc.", "system_version": "Not Specified", "system_wake_up_type": "Power Switch" }, "category": "SYSTEM" } ] ubuntu@201306-13868:~$
ubuntu@201306-13868:~$ sudo dmidecode -t bios -t system | pastebinit http://paste.ubuntu.com/p/sNRfhNJQT2/
ubuntu@ 201306- 13868:~ $ sudo dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | jq '[.[0]. "_attributes" + {"category": .[0]."category"}, .[1]."_attributes" + {"category": .[1]."category"}]' 201306- 13868:~ $
error: syntax error, unexpected QQSTRING_START, expecting IDENT
[.[0]."_attributes" + {"category": .[0]."category"}, .[1]."_attributes" + {"category": .[1]."category"}]
^
1 compile error
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
ubuntu@
ubuntu@ 201306- 13868:~ $ sudo dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode
"_attributes" : {
"bios_ address" : "0xE0000",
"bios_ bios_revision" : "1.4",
"bios_ firmware_ revision" : "1.4",
"bios_ release_ date": "10/04/2016",
"bios_ rom_size" : "6656 kB",
"bios_ runtime_ size": "128 kB",
"bios_ vendor" : "Dell Inc.",
"bios_ version" : "A14"
"_attributes" : {
"system_ family" : "Shark Bay ULT",
"system_ name": "Inspiron 7537",
"system_ sku_number" : "Inspiron 7537",
"system_ uuid": "4C4C4544- 0000-0010- 8000-80C04F0000 00",
"system_ vendor" : "Dell Inc.",
"system_ version" : "Not Specified",
"system_ wake_up_ type": "Power Switch" 201306- 13868:~ $
[
{
},
"category": "BIOS"
},
{
},
"category": "SYSTEM"
}
]
ubuntu@
ubuntu@ 201306- 13868:~ $ sudo dmidecode -t bios -t system | pastebinit paste.ubuntu. com/p/sNRfhNJQT 2/
http://