diff options
Diffstat (limited to 'bin/cpu')
| -rwxr-xr-x | bin/cpu | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/cpu b/bin/cpu deleted file mode 100755 index b7da744..0000000 --- a/bin/cpu +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# checks the amount of CPU being used - -cpu() { - #cpu="$(cat /proc/loadavg | awk '{print $3}'|cut -f 1 -d ".")" - cpu="$(iostat | awk '{print $1}' | grep '[0-9]')" - - printf " %.0f%%" "$cpu" 2>/dev/null -} - -cpu |
