Re: open port 46929

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Aug 20, 2007 at 09:46:21AM -0700, Craig White wrote:
> results from 'netstat -tlpn' gives me a line...
> 
> tcp        0      0 0.0.0.0:46929               0.0.0.0:*
> LISTEN      -

Rerun the command as root (eg under sudo).  Then the "p" option will tell
you what process is listening.

eg
% netstat -anp | grep -w 22 | grep LISTEN
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 :::22                       :::*                        LISTEN      -                   

% sudo netstat -anp | grep -w 22 | grep LISTEN
tcp        0      0 :::22                       :::*                        LISTEN      3742/sshd           

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux