This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
linux:commands [2020/03/13 11:51] – [Misc] tmade | linux:commands [2020/04/01 10:22] – [Misc] tmade | ||
---|---|---|---|
Line 33: | Line 33: | ||
date +' | date +' | ||
du -a / | sort -n -r | head -n 30 #Find 30 biggest files in / | du -a / | sort -n -r | head -n 30 #Find 30 biggest files in / | ||
- | du -mx / | sort -rn -k1 | head #Stay on filesystem for mount "/" | + | du -mx / | sort -rn -k1 | head #Stay on filesystem for mount "/" |
+ | find -P / -mindepth 1 -maxdepth 1 ! -fstype nfs ! -type l | xargs du -xsm | awk ' | ||
for i in /var/*; do echo $i; find $i |wc -l; done #count i-nodes in "/ | for i in /var/*; do echo $i; find $i |wc -l; done #count i-nodes in "/ | ||
du -h $(ls) > / | du -h $(ls) > / |