5 lines
117 B
Bash
Executable File
5 lines
117 B
Bash
Executable File
#!/bin/bash
|
|
print_mem(){
|
|
free --mebi | sed -n '2{p;q}' | awk '{printf ("🧠 %2.2fGiB", ( $3 / 1024) )}'
|
|
}
|
|
print_mem |