summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-cpu
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/status/sb-cpu')
-rwxr-xr-x.local/bin/status/sb-cpu3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/status/sb-cpu b/.local/bin/status/sb-cpu
new file mode 100755
index 0000000..f989958
--- /dev/null
+++ b/.local/bin/status/sb-cpu
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+# top | sed -n 3p | awk '{print $10}' | cut -d '.' -f1 | awk '{print " " 100 - $1 "%"}'