加个-n选项就好了。
lsof -n
原因:就是禁止网络端口号的转换显示就好了。
-n inhibits the conversion of network numbers to host names for network files. Inhibiting conversion may make lsof run faster. It is also useful when host name lookup is not working properly
加个-n选项就好了。
lsof -n
原因:就是禁止网络端口号的转换显示就好了。
-n inhibits the conversion of network numbers to host names for network files. Inhibiting conversion may make lsof run faster. It is also useful when host name lookup is not working properly
转载于:https://my.oschina.net/osexp2003/blog/697923