dwmblocks/scripts/sb-memory

4 lines
109 B
Plaintext
Raw Normal View History

2021-09-27 22:16:38 +01:00
#!/bin/sh
2022-01-08 17:04:07 +00:00
free --mebi | sed -n '2{p;q}' | awk '{printf ("MEM %2.2f/%2.2fGB\n", ( $3 / 1024), ($2 / 1024))}'