updated scripts, added configs, new screenshot

Former-commit-id: 80e5a611d9
Former-commit-id: d6d963dd470140b7a955399ff22fec885ddace30
This commit is contained in:
elena 2017-08-29 02:28:24 +03:00
parent b633e81511
commit e43cf1ccde
437 changed files with 46670 additions and 22 deletions

View file

@ -1,3 +1,11 @@
#!/bin/bash
#   
CPU="$[100-$(vmstat 1 2|tail -1|awk '{printf "%d", $15}')]"
echo "$CPU%"
GOVERNOR="$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)"
if [[ "$GOVERNOR" == "performance" ]]; then
echo "$CPU%"
else
echo "$CPU%"
fi