View Single Post
  #3  
Old 19th March 2012, 14:40
GR33N GR33N is offline
Junior Member
 
Join Date: Mar 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstat -tap

Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 *:submission                *:*                         LISTEN      8430/master         
tcp        0      0 *:pop3                      *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:imap                      *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1121/rpcbind        
tcp        0      0 *:ndmp                      *:*                         LISTEN      8222/perl           
tcp        0      0 mydomain.com:domain             *:*                         LISTEN      1364/named          
tcp        0      0 localhost:domain            *:*                         LISTEN      1364/named          
tcp        0      0 *:ssh                       *:*                         LISTEN      1730/sshd           
tcp        0      0 localhost:rndc              *:*                         LISTEN      1364/named          
tcp        0      0 *:smtp                      *:*                         LISTEN      8430/master         
tcp        0      0 *:imaps                     *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:pop3s                     *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:mysql                     *:*                         LISTEN      9425/mysqld         
tcp        0      0 *:53386                     *:*                         LISTEN      1139/rpc.statd      
tcp        0      0 mydomain.com:ndmp               cpc14-acto2-2-0-cust3:49613 ESTABLISHED 21493/perl          
tcp        0      0 mydomain.com:ndmp               cpc14-acto2-2-0-cust3:49612 ESTABLISHED 21494/perl          
tcp        0    972 mydomain.com:ssh                cpc14-acto2-2-0-cust3:55603 ESTABLISHED 6527/sshd           
tcp        0      0 *:submission                *:*                         LISTEN      8430/master         
tcp        0      0 *:pop3                      *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:imap                      *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1121/rpcbind        
tcp        0      0 *:http                      *:*                         LISTEN      9674/httpd          
tcp        0      0 *:45204                     *:*                         LISTEN      1139/rpc.statd      
tcp        0      0 *:ssh                       *:*                         LISTEN      1730/sshd           
tcp        0      0 *:smtp                      *:*                         LISTEN      8430/master         
tcp        0      0 *:https                     *:*                         LISTEN      9674/httpd          
tcp        0      0 *:imaps                     *:*                         LISTEN      9129/dovecot        
tcp        0      0 *:pop3s                     *:*                         LISTEN      9129/dovecot

netstat -uap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
udp        0      0 *:872                       *:*                                     1121/rpcbind        
udp        0      0 *:sunrpc                    *:*                                     1121/rpcbind        
udp        0      0 *:891                       *:*                                     1139/rpc.statd      
udp        0      0 *:59142                     *:*                                     1139/rpc.statd      
udp        0      0 *:ndmp                      *:*                                     8222/perl           
udp        0      0 mydomain.com:domain             *:*                                     1364/named          
udp        0      0 localhost:domain            *:*                                     1364/named          
udp        0      0 *:872                       *:*                                     1121/rpcbind        
udp        0      0 *:sunrpc                    *:*                                     1121/rpcbind        
udp        0      0 *:41150                     *:*                                     1139/rpc.statd