7 lines
126 B
Bash
7 lines
126 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
mem_info=$(free -h | awk '/Mem:/ { printf(" %5s/%s \n", $3, $2) }')
|
||
|
echo -n " "
|
||
|
echo -n ${mem_info}
|
||
|
echo " "
|