Revert memory display format
This commit is contained in:
parent
110d4851f9
commit
47e36e0bbb
|
@ -31,7 +31,7 @@ remaining_ram() {
|
|||
|
||||
END {
|
||||
used = memtotal - mavailable
|
||||
printf "%0.1fG / %.1fG", used, memtotal
|
||||
printf "%0.1fG / %.1fG", used, memtotal - used
|
||||
}
|
||||
' /proc/meminfo
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue