mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 19:57:08 -04:00
6 lines
128 B
Plaintext
6 lines
128 B
Plaintext
|
#!/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"
|