Skip to main content

Posts

Showing posts with the label Netstat

Netstat Command & Examples : View Monitor Network Statistics and Configurations In Linux

Netstat is a command line tool that is used to view and monitor network statistics and configurations of a system. This tool is available on both Unix, Linux and Windows NT-based operating systems. Below are some of the activities that can be carried out using this tool View network connections View routing tables View network interface statistics View masquerade connections View multicast memberships Netstat is a very powerful tool that can be used for network troubleshooting and network performance measuring purposes. Below are some of the basic commands of netstat tool 1) Listing all the sockets This displays details of all the sockets, including open and close sockets in the following format Proto - Protocol RefCnt - Reference Count : number of attached processes connected via this socket Flags - Flag type Type – Network socket type State - State of the socket I-Node - Inode of the socket Path - Path of the socket Command : netstat -a Sample out...