Delete sb-cpu

This commit is contained in:
Madeleine 2022-01-23 19:17:59 +00:00 committed by GitHub
parent 990532aa61
commit 2fe3aab1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +0,0 @@
#!/bin/sh
top -b -n2 -p 1 | fgrep "Cpu(s)" | tail -1 | awk -F'id,' -v prefix="CPU " '{ split($1, vs, ","); v=vs[length(vs)]; sub("%", "", v); printf "%s%.1f%%\n", prefix, 100 - v }'