This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:commands [2020/01/21 17:50] – [Misc] tmade | linux:commands [2020/11/17 14:05] – [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 | + | du -mx / | sort -rn -k1 | head |
+ | 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 "/ | ||
+ | du -h $(ls) > / | ||
+ | du -h | sort -n > filesize | ||
top / ps : | top / ps : | ||
ps afwwwwxo user, | ps afwwwwxo user, | ||
Line 40: | Line 44: | ||
for t in files links directories; | for t in files links directories; | ||
for t in files links directories; | for t in files links directories; | ||
- | du -h $(ls) > / | ||
- | du -h | sort -n > filesize | ||
grep " | grep " | ||
p3=$(/ | p3=$(/ | ||
p1=$(ps -C process_name -o cmd |grep " | p1=$(ps -C process_name -o cmd |grep " | ||
- | w3m http://mgtsmt005/repo | + | w3m http://hostname/repo |
wget --backups=1 https:// | wget --backups=1 https:// | ||