dotfiles/scripts/status/memorystat
2025-06-16 13:45:19 -06:00

4 lines
128 B
Bash
Executable file

#!/bin/sh
# Get current RAM memory usage
free --mebi | sed -n '2{p;q}' | awk '{printf ("%04.1fG", ( $3 / 1024), ($2 / 1024))}'