2 ms·
Dangit, there should have been an ASCII block character in that second printf. Here's a version with an asterisk instead: atopsar -p | grep ":[0-9]\{2\}\s\+[
by defulmere 5y ago
Dangit, there should have been an ASCII block character in that second printf. Here's a version with an asterisk instead:
atopsar -p | grep ":[0-9]\{2\}\s\+[0-9]" | awk '{printf("\n%s %6.2f ",$1, $5); for (i = 0; i<$5; i++) {printf("*")}}'; echo