QuestionQ32

VerifiedProblem Determination and Management

A customer reports that the /tmp filesystem is full and that rootvg has no free space to extend /tmp. An administrator needs to determine which files are consuming the most space in /tmp and are suitable candidates for removal.

Which command should be used?

Explanation

du -xk | sort -n reports disk usage for the current filesystem in kilobytes and sorts the usage values numerically, allowing the largest directories or files beneath /tmp to be identified. IBM’s AIX guidance specifically recommends this command pipeline to find the biggest directories in a full filesystem.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!