Replace "cat /proc/cpuinfo" with "lscpu" in the sub-du report: cpuinfo gets

too big with several cores
This commit is contained in:
Pierre Labastie 2020-06-19 06:51:10 +00:00
parent cce9c165cd
commit e4b7aa8206

View file

@ -45,7 +45,7 @@ fi
# Dump CPU and memory info
echo -e "\n\n\t\tCPU type:\n" >> "$REPORT"
cat /proc/cpuinfo >> "$REPORT"
lscpu >> "$REPORT"
echo -e "\n\t\tMemory info:\n" >> "$REPORT"
free >> "$REPORT"