Search for the biggest consumer in a Unix filesystem

iKnow-IT banner

Search for the biggest consumer in a filesystem

# find . -size +100 -ls | awk '{printf("%12s  %s %-2s %-7s  %-8s %-8s %s \n", $7, $8, $9, $10, $5, $6, $11)}' | sort -rn | head -30

 

List the top directories
# du -k . | sort -rn | head -30

 

The top directory and files
# du -a . | sort -rn | head -30