DashNix/eww_desktop/scripts/memory

3 lines
79 B
Bash
Executable file

#!/bin/bash
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')