1 2 3 4 5
while true; do echo -n 'C' ps -eo pcpu |grep -vE '^\s*(0.0|%CPU)' |sed -n '1h;$!H;$g;s/\n/ +/gp' | bc sleep 2; done