This is the code I made, it does work, but I know is bad and not really efficient
#!/urs/bin/bash ramav="$(($(grep -m1 \'MemAvailable:\' /proc/meminfo |