# this is an AWK script used by DF.XEQ.SYS BEGIN {hd=0; } /^LDEV/ { if(hd==0) { r= " Set: " substr($5,2,index($5,":") - 2); # Volume Name printf("%22s,%-40s\n", "dev size utilization", r); hd++;}; if(f=="Z") printf("%3s ",$3); } # For detail, Drive num /^ Device/ && t!=1 { if(f=="Z") { # Only print detail if f = "Z" printf("%5.1fG ",$3/4/1024/1024); for(i=0;i<$5/$3*60;i++) printf("#"); for(i=0;i<($3-$5)/$3*60;i++) printf("-"); printf(" %3d%%\n",$5/$3*100); } tc+=$3; # accumulate disc size tu+=$5; } # accumulate disc usage /^TOTALS/ { t=1; printf("all %5.1fG ",tc/4/1024/1024); for(i=0;i