netstat用法

netstat -anop|grep xxx

参数:

-a --all

-n --numeric

-o --timers

-p --programs

-t|--tcp

-u|--udp

-6|-4

如果是udp的连接,使用-t参数是找不到连接信息的。

猜你喜欢

转载自blog.csdn.net/busai2/article/details/84309669