From e4b7aa8206dfcabb3743c1e9616f58dfea1d6673 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 19 Jun 2020 06:51:10 +0000 Subject: [PATCH] Replace "cat /proc/cpuinfo" with "lscpu" in the sub-du report: cpuinfo gets too big with several cores --- common/create-sbu_du-report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/create-sbu_du-report.sh b/common/create-sbu_du-report.sh index 3fdd237..d3565c9 100755 --- a/common/create-sbu_du-report.sh +++ b/common/create-sbu_du-report.sh @@ -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"