<分区>
我正在尝试关闭一些 CLOSE_WAIT 本地主机进程,因此我正在尝试使用“netstat -anp”获取它们的进程 ID。
我看过很多推荐这个的帖子,但是,每次我在终端中输入这个命令时,我都会收到这个手册页消息:
netstat: option requires an argument -- p
Usage: netstat [-AaLlnW] [-f address_family | -p protocol]
netstat [-gilns] [-f address_family]
netstat -i | -I interface [-w wait] [-abdgRt]
netstat -s [-s] [-f address_family | -p protocol] [-w wait]
netstat -i | -I interface -s [-f address_family | -p protocol]
netstat -m [-m]
netstat -r [-Aaln] [-f address_family]
netstat -rs [-s]
不知道是什么问题。