Skip to content

Instantly share code, notes, and snippets.

@jose-daniel
Last active September 13, 2019 07:44
Show Gist options
  • Save jose-daniel/2517c4642297b7b1a58c08b954a9a559 to your computer and use it in GitHub Desktop.
Save jose-daniel/2517c4642297b7b1a58c08b954a9a559 to your computer and use it in GitHub Desktop.
Espacio en disco:
df -h
du -aBM 2>/dev/null | sort -nr | head -n 50 | more
du -h | grep [0-9]\.*[0-9*]G
du --max-depth 1 / | sort -n
Busca archivos abiertos por los procesos en ejecucion o sockets
lsof / | awk '{if($7 > 1048576) print $7/1048576 "MB" " " $9 }' | sort -n -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment