===== 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.4] out: Namespace: qdhcp-dc539646-9fde-427f-a187-0e697ca70348
[10.20.0.4] out: Active Internet connections (servers and established)
[10.20.0.4] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.4] out: tcp        0      0 192.168.111.3:53        0.0.0.0:*               LISTEN      92258/dnsmasq   
[10.20.0.4] out: tcp        0      0 169.254.169.254:53      0.0.0.0:*               LISTEN      92258/dnsmasq   
[10.20.0.4] out: tcp6       0      0 fe80::f816:3eff:fe92:53 :::*                    LISTEN      92258/dnsmasq   
[10.20.0.4] out: udp        0      0 192.168.111.3:53        0.0.0.0:*                           92258/dnsmasq   
[10.20.0.4] out: udp        0      0 169.254.169.254:53      0.0.0.0:*                           92258/dnsmasq   
[10.20.0.4] out: udp        0      0 0.0.0.0:67              0.0.0.0:*                           92258/dnsmasq   
[10.20.0.4] out: udp6       0      0 fe80::f816:3eff:fe92:53 :::*                                92258/dnsmasq   
[10.20.0.4] out: Active UNIX domain sockets (servers and established)
[10.20.0.4] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.4] out: unix  2      [ ]         DGRAM                    787691   92258/dnsmasq       
[10.20.0.4] out: Namespace: haproxy
[10.20.0.4] out: Active Internet connections (servers and established)
[10.20.0.4] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.4] out: tcp        0      0 190.10.2.16:6080        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8000        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8000        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:9696        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:9696        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8003        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8003        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8004        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8004        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8774        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8774        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:9191        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8775        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8776        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8776        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:5000        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:5000        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8777        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8777        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8042        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8042        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:3306        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:9292        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:9292        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8080        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8080        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:80          0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:10000       0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:8181        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:8181        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:9494        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 190.10.2.16:9494        0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      0 192.168.0.2:35357       0.0.0.0:*               LISTEN      158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:58384       192.168.0.7:9292        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:59602       192.168.0.5:49000       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:39692       192.168.0.7:8000        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:59368       192.168.0.3:8776        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:45483       192.168.0.3:8080        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:46273       192.168.0.5:9191        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:58685       192.168.0.7:8776        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:36064       192.168.0.5:80          SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:36870       192.168.0.5:8004        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:45587       192.168.0.5:8776        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:41294       192.168.0.5:8042        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:44274       192.168.0.3:8004        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:57003       192.168.0.5:9696        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:60332       192.168.0.7:35357       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:59051       192.168.0.7:80          SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:47463       192.168.0.3:8003        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:59658       192.168.0.7:8777        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:41918       192.168.0.7:9696        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:42044       192.168.0.3:9191        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:42571       192.168.0.7:49000       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:33662       192.168.0.3:8000        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:59182       192.168.0.5:8000        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:51074       192.168.0.3:49000       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:34524       192.168.0.3:35357       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:48054       192.168.0.5:8777        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:36453       192.168.0.5:5000        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:57029       192.168.0.5:35357       SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:38401       192.168.0.7:8004        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:50111       192.168.0.3:8777        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:34235       192.168.0.3:9696        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:47216       192.168.0.3:9494        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:45714       192.168.0.7:9191        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:48112       192.168.0.5:8003        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:32850       192.168.0.7:8775        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:51582       192.168.0.5:8774        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:35754       192.168.0.7:5000        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:42322       192.168.0.3:8774        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:34162       192.168.0.5:9494        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:58357       192.168.0.3:80          SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:52724       192.168.0.7:8774        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:54507       192.168.0.5:8775        SYN_SENT    158316/haproxy  
[10.20.0.4] out: tcp        0      1 190.10.2.16:49470       192.168.0.7:9494        SYN_SENT    158316/haproxy  
[10.20.0.4] out: Active UNIX domain sockets (servers and established)
[10.20.0.4] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.4] out: unix  2      [ ACC ]     STREAM     LISTENING     946506   158316/haproxy      /var/lib/haproxy/stats.158307.tmp
[10.20.0.4] out: unix  2      [ ]         DGRAM                    946508   158316/haproxy      
[10.20.0.4] out: Namespace: vrouter
[10.20.0.4] out: Active Internet connections (servers and established)
[10.20.0.4] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.4] out: tcp        0      0 192.168.0.1:53          0.0.0.0:*               LISTEN      110435/dnsmasq  
[10.20.0.4] out: udp        0      0 0.0.0.0:57149           0.0.0.0:*                           8672/conntrackd 
[10.20.0.4] out: udp        0      0 192.168.0.1:53          0.0.0.0:*                           110435/dnsmasq  
[10.20.0.4] out: udp        0      0 240.1.0.5:123           0.0.0.0:*                           129385/ntpd     
[10.20.0.4] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           129385/ntpd     
[10.20.0.4] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           129385/ntpd     
[10.20.0.4] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           129385/ntpd     
[10.20.0.4] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           8672/conntrackd 
[10.20.0.4] out: Active UNIX domain sockets (servers and established)
[10.20.0.4] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.4] out: unix  2      [ ACC ]     STREAM     LISTENING     158553   8672/conntrackd     /var/run/conntrackd.ctl
[10.20.0.4] out: unix  2      [ ]         DGRAM                    801535   110435/dnsmasq      
[10.20.0.4] out: 

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