Replace "cat /proc/cpuinfo" with "lscpu" in the sub-du report: cpuinfo gets
too big with several cores
This commit is contained in:
parent
cce9c165cd
commit
e4b7aa8206
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Reference in a new issue