Closed dalto8 closed 3 years ago
When the word for "mem" gets long, it causes free -b to not have whitespace before the total memory which breaks the awk which splits the line.
free -b
This is a simple fix that splits the line twice, once on the : and then again on the remainder of the line.
:
Merged! Thank you!
When the word for "mem" gets long, it causes
free -b
to not have whitespace before the total memory which breaks the awk which splits the line.This is a simple fix that splits the line twice, once on the
:
and then again on the remainder of the line.