biggest entries without other mounts
parent
2c4b797b42
commit
77896c08b4
|
@ -14,3 +14,6 @@ echo $PATH | sed s/\:/\\n/g
|
|||
|
||||
# check for open ports on target
|
||||
for i in 80 443; do echo -e '\x1dclose\x0d' | telnet google.com $i >/dev/null; echo "$i : $?"; done
|
||||
|
||||
# find biggest directories in a given path without leaving the current filesystem
|
||||
dir="/var/opt/gitlab"; for i in $(ls $dir); do mountpoint -q $dir/$i || du -shx $dir/$i ; done | sort -rh | head
|
||||
|
|
Loading…
Reference in New Issue