===== 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.7] out: Namespace: qdhcp-c5de1ebd-c6f1-42db-9141-7ca2b66f26be
[10.20.0.7] out: Active Internet connections (servers and established)
[10.20.0.7] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.7] out: tcp        0      0 192.168.111.3:53        0.0.0.0:*               LISTEN      34267/dnsmasq   
[10.20.0.7] out: tcp        0      0 169.254.169.254:53      0.0.0.0:*               LISTEN      34267/dnsmasq   
[10.20.0.7] out: tcp6       0      0 fe80::f816:3eff:fee1:53 :::*                    LISTEN      34267/dnsmasq   
[10.20.0.7] out: udp        0      0 192.168.111.3:53        0.0.0.0:*                           34267/dnsmasq   
[10.20.0.7] out: udp        0      0 169.254.169.254:53      0.0.0.0:*                           34267/dnsmasq   
[10.20.0.7] out: udp        0      0 0.0.0.0:67              0.0.0.0:*                           34267/dnsmasq   
[10.20.0.7] out: udp6       0      0 fe80::f816:3eff:fee1:53 :::*                                34267/dnsmasq   
[10.20.0.7] out: Active UNIX domain sockets (servers and established)
[10.20.0.7] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.7] out: unix  2      [ ]         DGRAM                    773469   34267/dnsmasq       
[10.20.0.7] out: Namespace: haproxy
[10.20.0.7] out: Active Internet connections (servers and established)
[10.20.0.7] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.7] out: tcp        0      0 190.10.2.16:6080        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8000        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8000        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:9696        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:9696        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8003        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8003        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8004        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8004        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8774        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8774        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:9191        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8775        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8776        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8776        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:5000        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:5000        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8777        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8777        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8042        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8042        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:3306        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:9292        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:9292        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:8080        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:8080        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:80          0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:10000       0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:9494        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 190.10.2.16:9494        0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      0 192.168.0.2:35357       0.0.0.0:*               LISTEN      38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:59101       192.168.0.7:8003        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:52339       192.168.0.7:8774        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:48645       192.168.0.4:8776        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:56456       192.168.0.7:8080        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:36147       192.168.0.7:8775        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:56076       192.168.0.6:9292        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:37641       192.168.0.4:49000       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:45758       192.168.0.6:8003        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:47035       192.168.0.4:35357       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:45683       192.168.0.7:5000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:53840       192.168.0.6:5000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:55638       192.168.0.6:35357       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:40640       192.168.0.4:8004        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:36050       192.168.0.4:8775        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:41316       192.168.0.6:8776        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:42181       192.168.0.6:8775        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:43355       192.168.0.6:9494        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:55615       192.168.0.7:9696        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:42919       192.168.0.7:8000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:36580       192.168.0.7:8776        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:50520       192.168.0.4:5000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:48777       192.168.0.7:49000       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:54059       192.168.0.7:35357       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:49623       192.168.0.7:8004        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:51629       192.168.0.4:8003        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:53582       192.168.0.4:9494        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:48086       192.168.0.6:8080        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:59003       192.168.0.6:8000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:32833       192.168.0.4:9696        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:35882       192.168.0.6:49000       SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:50897       192.168.0.7:9494        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:49454       192.168.0.6:8004        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:53294       192.168.0.4:8000        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:55310       192.168.0.6:8774        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:53297       192.168.0.6:9696        SYN_SENT    38583/haproxy   
[10.20.0.7] out: tcp        0      1 190.10.2.16:45666       192.168.0.4:8774        SYN_SENT    38583/haproxy   
[10.20.0.7] out: Active UNIX domain sockets (servers and established)
[10.20.0.7] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.7] out: unix  2      [ ACC ]     STREAM     LISTENING     193849   38583/haproxy       /var/lib/haproxy/stats.38577.tmp
[10.20.0.7] out: unix  2      [ ]         DGRAM                    193851   38583/haproxy       
[10.20.0.7] out: Namespace: vrouter
[10.20.0.7] out: Active Internet connections (servers and established)
[10.20.0.7] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.7] out: tcp        0      0 192.168.0.1:53          0.0.0.0:*               LISTEN      6144/dnsmasq    
[10.20.0.7] out: udp        0      0 192.168.0.1:53          0.0.0.0:*                           6144/dnsmasq    
[10.20.0.7] out: udp        0      0 240.1.0.6:123           0.0.0.0:*                           30707/ntpd      
[10.20.0.7] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           30707/ntpd      
[10.20.0.7] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           30707/ntpd      
[10.20.0.7] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           30707/ntpd      
[10.20.0.7] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           49002/conntrackd
[10.20.0.7] out: udp        0      0 0.0.0.0:39006           0.0.0.0:*                           49002/conntrackd
[10.20.0.7] out: Active UNIX domain sockets (servers and established)
[10.20.0.7] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.7] out: unix  2      [ ACC ]     STREAM     LISTENING     211399   49002/conntrackd    /var/run/conntrackd.ctl
[10.20.0.7] out: unix  2      [ ]         DGRAM                    784926   6144/dnsmasq        
[10.20.0.7] out: 

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