Wednesday, March 16, 2016

Highest size files in mount point

Command to search and display files with high utilization in a mount point. #du -a /tmp | sort -nr | cut -f2 | xargs du -s | head -n 10 ... thumbnail 1 summary
Command to search and display files with high utilization in a mount point.


#du -a /tmp | sort -nr | cut -f2 | xargs du -s | head -n 10


Replace /tmp with mount point of your choice and run command.

No comments

Post a Comment

Any thoughts?