System Management

The /var filesystem on a server is filling up. An administrator wants to see how full the filesystem is and which directories under /var use the most space. Which three commands provide this information? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. du -sh /var/*C. du -h --max-depth=1 /var | sort -rhE. df -hT /var

df -hT reports size, used and available space for the filesystem holding /var, and du with a depth limit or a wildcard totals each directory. The tempting fsck -N only prints what a check would do, and fio benchmarks I/O. Neither reports usage.