23 July 2018

netstat cheat sheet

Para ver conexiones tcp:

netstat -s -P tcp

ver un puerto en específico:

netstat –anp | grep puerto_admin

Mac:

netstat -an | grep -i 7001


----

A number of useful tools which can be used are netstat (to determine the number of sockets in TIME_WAIT state, for example by using, netstat –a | grep TIME_WAIT | wc –l) or iostat (to determine disk I/O on the operating system, for example, iostat 5 5). Note that iostat is part of the sysstat package, which can be installed by using: yum -y install sysstat.  
Networking linux:

https://upcloud.com/community/tutorials/troubleshoot-network-connectivity-linux-server/
https://geekflare.com/linux-networking-commands/
https://likegeeks.com/linux-network-commands/


 





No comments :

My Blog List

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.