4 lines
123 B
Bash
4 lines
123 B
Bash
|
# Gets current ram percent utilisation
|
||
|
|
||
|
echo $(free | awk '/^Mem/ {print "100*" $3 " / " $2 }' | bc | awk '{print $1"%"}')
|