===== 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.5] out: Namespace: qrouter-513afe07-fecc-4ec7-b3d3-b2ff860f7f86
[10.20.0.5] out: Active Internet connections (servers and established)
[10.20.0.5] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.5] out: Active UNIX domain sockets (servers and established)
[10.20.0.5] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.5] out: Namespace: haproxy
[10.20.0.5] out: Active Internet connections (servers and established)
[10.20.0.5] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.5] out: tcp        0      0 172.30.10.3:6080        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8000        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8000        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:9696        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8003        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8003        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8004        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8004        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8774        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8774        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:9191        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8775        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8776        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8776        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:5000        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:5000        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8777        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8777        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8042        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8042        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:3306        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:9292        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:9292        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8080        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8080        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:80          0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:10000       0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8181        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8181        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:9494        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:9494        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:8282        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:8282        0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 192.168.1.2:35357       0.0.0.0:*               LISTEN      4326/haproxy    
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33956       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33866       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33803       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33906       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33757       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33680       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33828       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33942       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33736       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33898       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33851       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33885       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33940       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33838       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33759       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33929       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33798       TIME_WAIT   -               
[10.20.0.5] out: tcp        0      0 172.30.10.3:9696        172.30.10.8:33771       TIME_WAIT   -               
[10.20.0.5] out: Active UNIX domain sockets (servers and established)
[10.20.0.5] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.5] out: unix  2      [ ACC ]     STREAM     LISTENING     140280   4326/haproxy        /var/lib/haproxy/stats.4317.tmp
[10.20.0.5] out: unix  2      [ ]         DGRAM                    140282   4326/haproxy        
[10.20.0.5] out: Namespace: vrouter
[10.20.0.5] out: Active Internet connections (servers and established)
[10.20.0.5] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.5] out: tcp        0      0 192.168.1.1:53          0.0.0.0:*               LISTEN      71429/dnsmasq   
[10.20.0.5] out: udp        0      0 192.168.1.1:53          0.0.0.0:*                           71429/dnsmasq   
[10.20.0.5] out: udp        0      0 240.1.0.4:123           0.0.0.0:*                           92373/ntpd      
[10.20.0.5] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           92373/ntpd      
[10.20.0.5] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           92373/ntpd      
[10.20.0.5] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           92373/ntpd      
[10.20.0.5] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           10969/conntrackd
[10.20.0.5] out: udp        0      0 0.0.0.0:54577           0.0.0.0:*                           10969/conntrackd
[10.20.0.5] out: Active UNIX domain sockets (servers and established)
[10.20.0.5] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.5] out: unix  2      [ ACC ]     STREAM     LISTENING     153021   10969/conntrackd    /var/run/conntrackd.ctl
[10.20.0.5] out: unix  2      [ ]         DGRAM                    743095   71429/dnsmasq       
[10.20.0.5] out: 

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