Type the command, including the option, that reports total, used and free memory with the units scaled to human-readable sizes such as Gi and Mi.

LPIC-1 Exam 101-500, objective 103. GNU and Unix commands easy

Draft — not checked yet. This question was written from the published exam objectives and cites the clause it comes from, but nobody has yet read it against that clause and signed for it.

It is kept out of search results and out of mock exams until they have. Read the source below before you take the answer as settled.

Answer

Type the answer.

Accepted answers

Case sensitive — Linux is, and grading LS as ls would teach a falsehood.

Why

free reads /proc/meminfo and summarises memory and swap. -h (--human) scales each figure to a readable unit instead of the default kibibytes. Related options are -m and -g for fixed megabyte or gigabyte units, and -s for repeating the report at an interval.

Where this comes from

Cited
LPI exam objective 103.5
What it says
Report memory usage with free.

Practise this

Reading one question is not practice. The trainer will draw a set from objective 103 and space the ones you get wrong.

Practise LPIC-1 Exam 101-500