2022-09-17 02:09:55 +09:00

3 lines
76 B
Bash
Executable File

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