disk usage of all subdirectories and files including hidden files within the current directory (sorted by filesize) :
du -sk .[!.]* *|sort -n
or
du -schx * is much better
Why the discrepancy? Occasionally extremely large files that have been recently deleted will still hold onto their resources; this can be discovered by running lsof (in this case, lsof +L1). Oftentimes, a reboot will clear this.
lsof +L1
Hiç yorum yok:
Yorum Gönder