Need help in understanding the below Script :HEADER='CPU    pctUser    pctNice  pctSystem  pctIowait    pctIdle'HEADERIZE=BEGIN {print \$HEADER\}PRINTF='{printf %-3s  %9s  %9s  %9s  %9s  %9s\n, cpu, pctUser, pctNice, pctSystem, pctIowait, pctIdle}'CMD='sar -P ALL 1 1'FORMAT='{cpu=$3; pctUser=$4; pctNice=$5; pctSystem=$6; pctIowait=$7; pctIdle=$NF}'FILTER='/Average|Linux|^$|%/ {next} (NR==1) {next}'$CMD | tee $TEE_DEST | $AWK $HEADERIZE $FILTER $FORMAT $PRINTF  header=$HEADERecho Cmd = [$CMD];  | $AWK '$HEADERIZE $FILTER $FORMAT $PRINTF' header=\$HEADER\ >> $TEE_DESTThis script is actually used to find out cpu utilization (using sar) and print its values.I am find trouble in understanding the HEADER, HEADERIZE, PRINTF. How are these things working.I am new to Scripting. Any help is appreciated.
Need help understanding this cpu utilization script
printf;header file;cpu usage