===== 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: qdhcp-9c8c1d46-005d-474c-85ad-93e9447efe95
[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.111.3:53        0.0.0.0:*               LISTEN      29744/dnsmasq   
[10.20.0.3] out: tcp        0      0 169.254.169.254:53      0.0.0.0:*               LISTEN      29744/dnsmasq   
[10.20.0.3] out: tcp6       0      0 fe80::f816:3eff:fefe:53 :::*                    LISTEN      29744/dnsmasq   
[10.20.0.3] out: udp        0      0 192.168.111.3:53        0.0.0.0:*                           29744/dnsmasq   
[10.20.0.3] out: udp        0      0 169.254.169.254:53      0.0.0.0:*                           29744/dnsmasq   
[10.20.0.3] out: udp        0      0 0.0.0.0:67              0.0.0.0:*                           29744/dnsmasq   
[10.20.0.3] out: udp6       0      0 fe80::f816:3eff:fefe:53 :::*                                29744/dnsmasq   
[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      [ ]         DGRAM                    721766   29744/dnsmasq       
[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 190.10.1.16:6080        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8000        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8000        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:9696        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:9696        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8003        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8003        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8004        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8004        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8774        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8774        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:9191        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8775        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8776        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8776        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:5000        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:5000        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8777        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8777        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8042        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8042        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:3306        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:9292        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:9292        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:8080        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:8080        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:80          0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:10000       0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:9494        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 190.10.1.16:9494        0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      0 192.168.0.2:35357       0.0.0.0:*               LISTEN      42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:36434       192.168.0.3:80          SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:56189       192.168.0.7:8777        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:50597       192.168.0.6:8080        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:56960       192.168.0.3:8000        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:50124       192.168.0.7:8775        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47219       192.168.0.7:8003        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:35565       192.168.0.6:80          SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:36567       192.168.0.7:9494        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:46415       192.168.0.6:9292        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:35346       192.168.0.6:8777        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47246       192.168.0.3:8775        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:57172       192.168.0.3:49000       SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47748       192.168.0.6:8042        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:50853       192.168.0.7:8042        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:49664       192.168.0.7:8080        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:41049       192.168.0.3:5000        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:41315       192.168.0.6:5000        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:45032       192.168.0.6:8775        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:51057       192.168.0.3:9494        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:38316       192.168.0.3:8004        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:35845       192.168.0.6:49000       SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:49567       192.168.0.3:8777        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47608       192.168.0.6:9696        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:32928       192.168.0.3:35357       SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:55813       192.168.0.6:8000        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:57057       192.168.0.7:6080        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:60099       192.168.0.3:8774        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:33483       192.168.0.7:80          SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47519       192.168.0.3:9696        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:48091       192.168.0.6:8774        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:53461       192.168.0.7:35357       SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:47230       192.168.0.6:9191        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:38935       192.168.0.6:35357       SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:59301       192.168.0.6:9494        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:49465       192.168.0.3:8776        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:35678       192.168.0.3:6080        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:58617       192.168.0.7:8774        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:43106       192.168.0.3:9191        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:42125       192.168.0.6:6080        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:32934       192.168.0.7:9292        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:59326       192.168.0.6:8776        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:51422       192.168.0.7:8004        SYN_SENT    42228/haproxy   
[10.20.0.3] out: tcp        0      1 190.10.1.16:54628       192.168.0.7:8000        SYN_SENT    42228/haproxy   
[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     199969   42228/haproxy       /var/lib/haproxy/stats.42214.tmp
[10.20.0.3] out: unix  2      [ ]         DGRAM                    199971   42228/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.0.1:53          0.0.0.0:*               LISTEN      2270/dnsmasq    
[10.20.0.3] out: udp        0      0 0.0.0.0:41404           0.0.0.0:*                           847/conntrackd  
[10.20.0.3] out: udp        0      0 192.168.0.1:53          0.0.0.0:*                           2270/dnsmasq    
[10.20.0.3] out: udp        0      0 240.1.0.6:123           0.0.0.0:*                           38388/ntpd      
[10.20.0.3] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           38388/ntpd      
[10.20.0.3] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           38388/ntpd      
[10.20.0.3] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           38388/ntpd      
[10.20.0.3] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           847/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     201291   847/conntrackd      /var/run/conntrackd.ctl
[10.20.0.3] out: unix  2      [ ]         DGRAM                    822437   2270/dnsmasq        
[10.20.0.3] out: 

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