nerdexam
CompTIA

XK0-004 · Question #50

An administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the

The correct answer is A. lsof | grep largelogfile. https://access.redhat.com/solutions/2316

Troubleshooting and Diagnostics

Question

An administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the file system. Which of the following commands would BEST assists the administrator in identifying the problem?

Options

  • Alsof | grep largelogfile
  • Bpkill /tmp/largelogfile
  • Cpgrep largelogfile
  • Dps -ef | grep largelogfile

How the community answered

(31 responses)
  • A
    65% (20)
  • B
    6% (2)
  • C
    19% (6)
  • D
    10% (3)

Explanation

https://access.redhat.com/solutions/2316

Topics

#lsof#open file handles#deleted files#disk space recovery

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice