1 parent
c454e0d00a
commit
fee8caf4da
11 files changed
+286
-207
No files matched your search
+1
-1
@@ -3,4 +3,4 @@ print_cpu() {
|
||||
cpuUse=$(top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print int(100 - $1)"%"}')
|
||||
echo -e "💻 $cpuUse"
|
||||
}
|
||||
print_cpu
|
||||
print_cpu
|
||||
Reference in new issue
Block a user