mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
Added in some debuggers stuff
This commit is contained in:
parent
ef7d88e359
commit
f3ea9183d7
11
inxi
11
inxi
|
@ -1575,12 +1575,23 @@ debug_data_collector()
|
|||
# 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.
|
||||
# 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
|
||||
nvidia-smi -q &> $Debug_Data_Dir/nvidia-smi-q.txt
|
||||
nvidia-smi -q -x &> $Debug_Data_Dir/nvidia-smi-xq.txt
|
||||
else
|
||||
touch $Debug_Data_Dir/nvidia-smi-absent
|
||||
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
|
||||
ls /usr/bin/gcc* &> $Debug_Data_Dir/gcc-sys-versions.txt
|
||||
if type -p gcc &>/dev/null;then
|
||||
|
|
Loading…
Reference in a new issue