netstat samples

来源:互联网 发布:软件源代码 买卖 编辑:程序博客网 时间:2024/06/08 15:27

network monitoring: netstat 

List All Ports

# netstat -an


List Sockets which are in Listening State

# netstat -l


Show the statistics for each protocol

#netstat -s


Display PID and program names in netstat output

# netstat -p


Show the list of network interfaces

# netstat -i


0 0
原创粉丝点击