mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
6 lines
128 B
Bash
Executable file
6 lines
128 B
Bash
Executable file
#!/bin/sh
|
|
|
|
memory=$(free -h | awk '/Mem/ {printf "%s/%s\n", $3, $2}' | sed 's/Gi/G/g; s/Mi/M/g')
|
|
|
|
printf '[MEM %s]\n' "$memory"
|