diff options
author | Joe <rbo@gmx.us> | 2024-12-24 21:54:59 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-24 21:54:59 +0100 |
commit | 4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f (patch) | |
tree | 784b8b42a7fb2172414a397b72bdac37c6f87de9 /.local/bin/status/sb-cpu | |
parent | up (diff) | |
download | dotfiles-bsd-4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f.tar.gz dotfiles-bsd-4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f.tar.bz2 dotfiles-bsd-4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f.tar.xz dotfiles-bsd-4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f.tar.zst dotfiles-bsd-4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f.zip |
status up
Diffstat (limited to '.local/bin/status/sb-cpu')
-rwxr-xr-x | .local/bin/status/sb-cpu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-cpu b/.local/bin/status/sb-cpu index 45def29..fe3712a 100755 --- a/.local/bin/status/sb-cpu +++ b/.local/bin/status/sb-cpu @@ -7,7 +7,7 @@ # ncpu=$(sysctl -n hw.ncpu | tee $ncpu_file) # fi -printf "^c#8ec07c^ " +printf "^c#8ec07c^ " # for i in $(top -P -d 2 -s 0.2 | grep '^CPU' | tail -n$ncpu | sed '{s/% idle$//;s/.*[[:blank:]]//;s/\..*//;s/^/100 - /;}' | bc); do case $(hostname -s) in mother|po-rbo) |