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