Author: pierre Date: Thu Jun 18 23:51:10 2020 New Revision: 4174 Log: Replace "cat /proc/cpuinfo" with "lscpu" in the sub-du report: cpuinfo gets too big with several cores
Modified: jhalfs/trunk/common/create-sbu_du-report.sh Modified: jhalfs/trunk/common/create-sbu_du-report.sh ============================================================================== --- jhalfs/trunk/common/create-sbu_du-report.sh Sun Jun 14 08:54:44 2020 (r4173) +++ jhalfs/trunk/common/create-sbu_du-report.sh Thu Jun 18 23:51:10 2020 (r4174) @@ -45,7 +45,7 @@ # 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" -- http://lists.linuxfromscratch.org/listinfo/alfs-log Unsubscribe: See the above information page
