Skip to content

Instantly share code, notes, and snippets.

@Hashbrown777
Last active October 27, 2023 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hashbrown777/5a3d3c9adc15e48223f92ccb4965ba7d to your computer and use it in GitHub Desktop.
Save Hashbrown777/5a3d3c9adc15e48223f92ccb4965ba7d to your computer and use it in GitHub Desktop.
Assorted commands
#top for networking
sudo iftop -P -B
#shows connexions going through listened port
sudo tcptrack -i eno1 port 8080
#get process listening on port
sudo netstat -tulpn | ag 8080
#top for disks
sudo iotop
#top disk IO usage
sysdig -c topfiles_bytes
sysdig -c topfiles_time
#list other things that can be listed
sysdig -cl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment