Changeset e68c306
- Timestamp:
- 08/28/2021 08:50:40 PM (3 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- b5d1c50
- Parents:
- 52cced4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/create-sbu_du-report.sh
r52cced4 re68c306 60 60 SBU_UNIT=`sed -n 's/^Totalseconds:\s\([[:digit:]]*\)$/\1/p' $BASELOG` 61 61 popd 62 echo -e "\nThe SBU unit value is equal to $SBU_UNIT seconds.\n" 63 echo -e "\n\n$LINE\n\nThe SBU unit value is equal to $SBU_UNIT seconds.\n" >> "$REPORT" 62 # Get the -j value of the SBU 63 if [ $(sed -n '/REALSBU/s/.*\([yn]\).*/\1/p' "$REPORT") = y ]; then 64 J_VALUE="1" 65 else 66 J_VALUE=$(sed -n '/N_PARALLEL/s/.*<\([^>]*\).*/\1/p' "$REPORT") 67 fi 68 echo -e "\nThe SBU unit value is equal to $SBU_UNIT seconds at -j$J_VALUE.\n" 69 echo -e "\n\n$LINE\n\nThe SBU unit value is equal to $SBU_UNIT seconds at -j$J_VALUE.\n" >> "$REPORT" 64 70 65 71 # Set the first value to 0 for grand totals calculation
Note:
See TracChangeset
for help on using the changeset viewer.