Added in some debuggers stuff

This commit is contained in:
Harald Hope 2018-02-10 12:36:51 -08:00
parent ef7d88e359
commit f3ea9183d7

11
inxi
View file

@ -1575,12 +1575,23 @@ debug_data_collector()
# support strings --version, but will just simply hang at that command # support strings --version, but will just simply hang at that command
# which you can duplicate by simply typing: strings then hitting enter, you will get hang. # which you can duplicate by simply typing: strings then hitting enter, you will get hang.
# strings --version &> $Debug_Data_Dir/strings.txt # strings --version &> $Debug_Data_Dir/strings.txt
if type -p aticonfig &>/dev/null;then
aticonfig --adapter=all --od-gettemperature &> $Debug_Data_Dir/aticonfig-all-od-get-temp.txt
else
touch $Debug_Data_Dir/aticonfig-absent
fi
if type -p nvidia-smi &>/dev/null;then if type -p nvidia-smi &>/dev/null;then
nvidia-smi -q &> $Debug_Data_Dir/nvidia-smi-q.txt nvidia-smi -q &> $Debug_Data_Dir/nvidia-smi-q.txt
nvidia-smi -q -x &> $Debug_Data_Dir/nvidia-smi-xq.txt nvidia-smi -q -x &> $Debug_Data_Dir/nvidia-smi-xq.txt
else else
touch $Debug_Data_Dir/nvidia-smi-absent touch $Debug_Data_Dir/nvidia-smi-absent
fi fi
if type -p nvidia-settings &>/dev/null;then
nvidia-settings -c :0.0 -q all &> $Debug_Data_Dir/nvidia-settings-all.txt
else
touch $Debug_Data_Dir/nvidia-settings-absent
fi
echo $CC &> $Debug_Data_Dir/cc-content.txt echo $CC &> $Debug_Data_Dir/cc-content.txt
ls /usr/bin/gcc* &> $Debug_Data_Dir/gcc-sys-versions.txt ls /usr/bin/gcc* &> $Debug_Data_Dir/gcc-sys-versions.txt
if type -p gcc &>/dev/null;then if type -p gcc &>/dev/null;then