nerdexam
CompTIA

SK0-004 · Question #793

A systems administrator received an alert from the central monitoring tool indicating /var/mail/logs on a Linux system is running out of disk space. Before troubleshooting the issue, the…

The correct answer is A. df. The df command reports total, used, and available disk space for all mounted filesystems on a Linux system.

Troubleshooting

Question

A systems administrator received an alert from the central monitoring tool indicating /var/mail/logs on a Linux system is running out of disk space. Before troubleshooting the issue, the administrator needs to verify the total disk space available on the volume. Which of the following commands would allow the administrator to gather the required information?

Options

  • Adf
  • Bls
  • Cfsutil
  • Ddu

How the community answered

(47 responses)
  • A
    94% (44)
  • C
    4% (2)
  • D
    2% (1)

Why each option

The df command reports total, used, and available disk space for all mounted filesystems on a Linux system.

AdfCorrect

The df (disk free) command displays filesystem-level disk space usage, including total size, used space, and available space for each mounted volume. Running df with the target path or filesystem will give the administrator the total capacity and remaining space for the /var/mail/logs volume directly.

Bls

ls lists directory contents and file names but does not report disk space usage or filesystem capacity.

Cfsutil

fsutil is a Windows command-line utility and is not available on Linux systems.

Ddu

du (disk usage) reports the size of specific files and directories rather than the total available space on the underlying filesystem volume.

Concept tested: Linux df command for filesystem disk space

Source: https://man7.org/linux/man-pages/man1/df.1.html

Topics

#df command#disk space#Linux filesystem

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice