updated scripts, added configs, new screenshot

This commit is contained in:
elena 2017-08-29 02:28:24 +03:00
parent b633e81511
commit 80e5a611d9
437 changed files with 46668 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