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/03/13 11:51] – [Misc] tmade | linux:commands [2020/11/17 14:08] – [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) > / | ||
Line 46: | Line 47: | ||
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:// | ||
systemrescourcen/ | systemrescourcen/ | ||
tload // | tload // | ||
- | ps ?? //show current process | + | ps -ef //show current process |
top // (mit F umschalten, dann z.B. " | top // (mit F umschalten, dann z.B. " | ||
vmstat 1 // (activity of swap memory - aktualisierung sekundenweise) | vmstat 1 // (activity of swap memory - aktualisierung sekundenweise) |