- onlybird2012-04-27论坛元老27012
执行netstat -p后,其中的 PID/Program name 貌似最多只能显示19位字符....超过的则不显示出来
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 :nfs :* LISTEN -
tcp 0 0 :40773 :* LISTEN -
tcp 0 0 :vmware-authd :* LISTEN 5229/xinetd
tcp 0 0 localhost:mysql : LISTEN 4896/mysqld
tcp 0 0 :www :* LISTEN 5540/apache2
tcp 0 0 :ipp :* LISTEN 4819/cupsd
tcp 0 0 :smtp :* LISTEN 5139/master
tcp 0 0 :34171 :* LISTEN 5067/rpc.mountd
tcp6 0 0 :ftp :* LISTEN 5437/proftpd: (acce **
cpuser 发表于 2012-4-27 21:39
[](https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=1810449&ptid=120304)
然后再用ps呗。**
虽然用ps可以解决这问题....但是还是想知道有办法直接显示完整的不