fix lshw json
This commit is contained in:
parent
468b6f63c4
commit
b3285421d1
|
@ -261,7 +261,7 @@ def smartctl(all_disks, disk=None):
|
||||||
# TODO permitir selección
|
# TODO permitir selección
|
||||||
# TODO permitir que vaya más rápido
|
# TODO permitir que vaya más rápido
|
||||||
def get_data(all_disks):
|
def get_data(all_disks):
|
||||||
lshw = 'sudo lshw -json'
|
lshw = 'sudo lshw -xml'
|
||||||
hwinfo = 'sudo hwinfo --reallyall'
|
hwinfo = 'sudo hwinfo --reallyall'
|
||||||
dmidecode = 'sudo dmidecode'
|
dmidecode = 'sudo dmidecode'
|
||||||
lspci = 'sudo lspci -vv'
|
lspci = 'sudo lspci -vv'
|
||||||
|
|
Loading…
Reference in a new issue