010-160 · Question #7
Which of the following outputs comes from the command free?
The correct answer is E. total used free shared buff/cache available Mem: 16123128 12565680 2011624 412128 1545824 7180416. The free command reports system memory statistics including total, used, free, shared, buffer/cache, and available RAM.
Question
Options
- A21:04:15 up 14 days, 7:43, 3 users, load average: 0.89, 1.00, 0.99
- Bavg-cpu: %user %nice %system %iowait %steal %idle 34.04 0.03 13.88 1.06 0.00 50.99
- CFilesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ssd- 25G 20G 3.6G 85% / root
- D1.8M /tmp
- Etotal used free shared buff/cache available Mem: 16123128 12565680 2011624 412128 1545824 7180416
How the community answered
(26 responses)- A4% (1)
- D4% (1)
- E92% (24)
Why each option
The `free` command reports system memory statistics including total, used, free, shared, buffer/cache, and available RAM.
That output format showing uptime, users, and load average is produced by the `uptime` command, not `free`.
The CPU statistics breakdown showing %user, %nice, %system, %iowait, %steal, and %idle is the output of `iostat`, not `free`.
Filesystem usage showing Size, Used, Avail, and mount points is the output of the `df` command, not `free`.
A single numeric value with a directory path is the output of `du` (disk usage), not `free`.
The `free` command reads memory information from `/proc/meminfo` and displays it in a tabular format with columns for total, used, free, shared, buff/cache, and available memory for both RAM (Mem:) and swap. The output shown matches the default `free` output with values expressed in kilobytes.
Concept tested: Memory usage reporting with the free command
Source: https://man7.org/linux/man-pages/man1/free.1.html
Topics
Community Discussion
No community discussion yet for this question.