Linux常用命令总结(二)

Python68

1.Netstat 命令

用于显示各种网络相关信息,如网络连接、路由表、接口状态等。

[En]

It is used to display various network related information, such as network connection, routing table, interface status, etc.

例如 统计IP110.120.119.XXX的连接数:

netstat | grep 110.120.119.XXX |wc -l

列出所有 tcp 端口 netstat -at

Linux常用命令总结(二)

查看端口3306的使用情况

netstat tunlp | grep 3306
输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长