Fixed a bug
This commit is contained in:
parent
3e4add6918
commit
a17746e0d1
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ get_percent()
|
||||||
|
|
||||||
Mac)
|
Mac)
|
||||||
percent=$(ps -A -o %cpu | awk '{s+=$1} END {print s "%"}')
|
percent=$(ps -A -o %cpu | awk '{s+=$1} END {print s "%"}')
|
||||||
|
echo $percent
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Windows)
|
Windows)
|
||||||
|
|
Loading…
Reference in a new issue