sar -u -a -b -c -w -y 5 | tail +4 | awk '/.*:.*:.*/{printf("\n");}{n=split($0,a);for(i=1;i<=n;i++) printf ("%s ",a[i])}END{printf("\n")}' | tail +2 | awk '{if (NR==1){for(i=2;i<=NF;i++) a=sprintf("%s%s ",a,$i)}else{for(i=2;i<=NF;i++) b=sprintf("%s%s ", b, $i)}}END{na=split(a,aa);nb=split(b,bb);for(i=1;i<=na;i++)printf("|GRAPH|%s|%s|",aa[i],bb[i])}' bdf -t hfs | tail +2 | awk '{printf("|disk|%s|%s|%s|%s|%s|%s (%s)|\n", $1, $6, " ", " ", $2, $4, $5)}' finger -f | col | tr "\t" "," | awk -F',' '{printf("|user|%s|%s|%s|%s|%s|\n",$1,$2,$3,$5,$4)}' | sed 's/| */|/g' ps -efl | egrep "sshd|syslogd|automo" | awk '{printf("|process|%s|%s|%s|%s|\n", $4, $16, $2, $10)}'