===== COMMAND =====: for ns in $(ip netns list); do echo Namespace: ${ns}; ip netns exec ${ns} netstat -anp; done
===== RETURN CODE =====: 0
===== STDOUT =====:
[10.20.0.3] out: Namespace: qrouter-e58138dc-e2fa-4680-980d-8773289fce58
[10.20.0.3] out: Active Internet connections (servers and established)
[10.20.0.3] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.3] out: Active UNIX domain sockets (servers and established)
[10.20.0.3] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.3] out: Namespace: haproxy
[10.20.0.3] out: Active Internet connections (servers and established)
[10.20.0.3] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.3] out: tcp        0      0 172.30.10.3:6080        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8000        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8000        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:9696        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8003        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8003        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8004        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8004        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8774        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8774        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:9191        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8775        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8776        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8776        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:5000        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:5000        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8777        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8777        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8042        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8042        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:3306        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:9292        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:9292        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8080        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8080        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:80          0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:10000       0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8181        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8181        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:9494        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:9494        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:8282        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:8282        0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 192.168.1.2:35357       0.0.0.0:*               LISTEN      5629/haproxy    
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45000       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45218       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45134       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45040       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45111       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 240.0.0.2:48833         192.168.1.6:5000        ESTABLISHED -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45095       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45123       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45192       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45220       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45097       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45153       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:44963       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45053       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:44986       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45166       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45207       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:44886       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:44992       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45074       TIME_WAIT   -               
[10.20.0.3] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:45181       TIME_WAIT   -               
[10.20.0.3] out: Active UNIX domain sockets (servers and established)
[10.20.0.3] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.3] out: unix  2      [ ACC ]     STREAM     LISTENING     139167   5629/haproxy        /var/lib/haproxy/stats.5621.tmp
[10.20.0.3] out: unix  2      [ ]         DGRAM                    139169   5629/haproxy        
[10.20.0.3] out: Namespace: vrouter
[10.20.0.3] out: Active Internet connections (servers and established)
[10.20.0.3] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.3] out: tcp        0      0 192.168.1.1:53          0.0.0.0:*               LISTEN      15641/dnsmasq   
[10.20.0.3] out: udp        0      0 192.168.1.1:53          0.0.0.0:*                           15641/dnsmasq   
[10.20.0.3] out: udp        0      0 240.1.0.5:123           0.0.0.0:*                           10267/ntpd      
[10.20.0.3] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           10267/ntpd      
[10.20.0.3] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           10267/ntpd      
[10.20.0.3] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           10267/ntpd      
[10.20.0.3] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           17727/conntrackd
[10.20.0.3] out: udp        0      0 0.0.0.0:40492           0.0.0.0:*                           17727/conntrackd
[10.20.0.3] out: Active UNIX domain sockets (servers and established)
[10.20.0.3] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.3] out: unix  2      [ ACC ]     STREAM     LISTENING     146958   17727/conntrackd    /var/run/conntrackd.ctl
[10.20.0.3] out: unix  2      [ ]         DGRAM                    764984   15641/dnsmasq       
[10.20.0.3] out: 

===== STDERR =====:
