Netstat command Examples

Netstat command is one of the mostly used by network engineer as well as IT stuff  to know network related statistics. 

Netstat stands for  Network Statistics

Netstat command definition:- It used to monitoring network connections both incoming and outgoing as well as viewing routing tables, interface statistics etc.

Below command used to know listing ports

netstat -a = Listing all ports (both TCP and UDP)

Below command used to know listing TCP ports

netstat -at = Listing only TCP 

Below command used to know listing UDP ports

netstat -au = Listing only UDP

Below command used to know listing all active ports

netstat -l = Listing all active listening ports

Below command used to know listing all listing TCP ports

netstat -lt = Listing all active listening TCP ports

Below command used to know listing all UDP ports

netstat -lu = Listing all active listening UDP ports

Below command used to know all statics

netstat -s = statistics are shown for the TCP, UDP, ICMP, and IP protocols

Below command used to know statistics TCP

netstat -st = statistics TCP

Below command used to know statistics UDP

netstat -su = statistics UDP

Below command used to Displaying service name with their PID number

netstat -p = Displaying service name with their PID number

Below command used to know Network statistics numeric

netstat -n = Network statistics numeric

Below command used to show network interfaces

netstat -i = Showing network interfaces

Below command used to know Show Kernel interface table

netstat -ie = Showing Kernel interface table

tags

Netstat command Examples

Mostly used netstat commands examples

Realtime used netstat commands

Watch Netstat command video




Comments

Popular posts from this blog

Awk command with simple examples

Learn Linux in Telugu | Linux complete Free Course in Telugu by 7Hills

rsync Command Examples | rsync Command In Telugu