6 lines
86 B
Bash
6 lines
86 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
Cpu=$(mpstat -u | grep "all" | awk '{print $4"%"}')
|
||
|
|
||
|
echo -e " $Cpu"
|