legacy-mode #3

Merged
pedro merged 11 commits from legacy-mode into main 2024-10-15 12:17:26 +00:00
Showing only changes of commit 2291d0994b - Show all commits

View file

@ -249,11 +249,13 @@ def get_data(all_disks):
lshw = 'sudo lshw -json'
hwinfo = 'sudo hwinfo --reallyall'
dmidecode = 'sudo dmidecode'
lspci = 'sudo lspci -vv'
data = {
'lshw': json.loads(exec_cmd(lshw) or "{}"),
'disks': smartctl(all_disks),
'hwinfo': exec_cmd(hwinfo),
'dmidecode': exec_cmd(dmidecode)
'dmidecode': exec_cmd(dmidecode),
'lspci': exec_cmd(lspci)
}
return data