===== 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.6] out: Namespace: qdhcp-d7d9ce41-8d64-4a95-b0b0-1cfaf5ef942e
[10.20.0.6] out: Active Internet connections (servers and established)
[10.20.0.6] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.6] out: tcp        0      0 192.168.111.3:53        0.0.0.0:*               LISTEN      31231/dnsmasq   
[10.20.0.6] out: tcp        0      0 169.254.169.254:53      0.0.0.0:*               LISTEN      31231/dnsmasq   
[10.20.0.6] out: tcp6       0      0 fe80::f816:3eff:fe74:53 :::*                    LISTEN      31231/dnsmasq   
[10.20.0.6] out: udp        0      0 192.168.111.3:53        0.0.0.0:*                           31231/dnsmasq   
[10.20.0.6] out: udp        0      0 169.254.169.254:53      0.0.0.0:*                           31231/dnsmasq   
[10.20.0.6] out: udp        0      0 0.0.0.0:67              0.0.0.0:*                           31231/dnsmasq   
[10.20.0.6] out: udp6       0      0 fe80::f816:3eff:fe74:53 :::*                                31231/dnsmasq   
[10.20.0.6] out: Active UNIX domain sockets (servers and established)
[10.20.0.6] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.6] out: unix  2      [ ]         DGRAM                    774356   31231/dnsmasq       
[10.20.0.6] out: Namespace: haproxy
[10.20.0.6] out: Active Internet connections (servers and established)
[10.20.0.6] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.6] out: tcp        0      0 190.10.1.16:6080        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8000        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8000        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:9696        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:9696        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8003        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8003        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8004        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8004        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8774        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8774        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:9191        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8775        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8776        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8776        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:5000        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:5000        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8777        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8777        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8042        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8042        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:3306        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:9292        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:9292        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:8080        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:8080        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:80          0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:10000       0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:9494        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 190.10.1.16:9494        0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      0 192.168.0.2:35357       0.0.0.0:*               LISTEN      41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:40308       192.168.0.6:49000       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:49326       192.168.0.7:8775        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:58059       192.168.0.6:8003        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:37340       192.168.0.7:8080        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:42081       192.168.0.6:9191        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:57783       192.168.0.7:8776        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:59248       192.168.0.7:9292        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:47307       192.168.0.6:8774        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:35096       192.168.0.7:8777        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:50393       192.168.0.4:80          SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:59229       192.168.0.6:80          SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:44889       192.168.0.6:9696        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:36908       192.168.0.4:8774        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:46180       192.168.0.4:9191        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:59209       192.168.0.6:8775        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:55784       192.168.0.7:35357       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:39453       192.168.0.4:8004        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:44658       192.168.0.4:49000       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:36354       192.168.0.4:8776        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:46719       192.168.0.4:8775        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:34924       192.168.0.7:80          SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:41053       192.168.0.7:9696        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:35989       192.168.0.4:9292        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:55987       192.168.0.7:49000       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:41069       192.168.0.6:8776        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:37287       192.168.0.7:8004        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:45827       192.168.0.4:5000        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:57738       192.168.0.6:35357       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:56794       192.168.0.7:8000        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:36267       192.168.0.7:6080        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:53517       192.168.0.6:8777        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:60267       192.168.0.7:5000        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:40035       192.168.0.6:5000        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:46435       192.168.0.7:9494        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:39992       192.168.0.4:8042        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:56951       192.168.0.6:8042        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:57538       192.168.0.6:9292        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:34790       192.168.0.6:6080        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:52937       192.168.0.4:8003        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:36807       192.168.0.4:35357       SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:55100       192.168.0.7:8042        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:45087       192.168.0.4:8777        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:44360       192.168.0.4:8080        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:57025       192.168.0.7:9191        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:33308       192.168.0.7:8003        SYN_SENT    41115/haproxy   
[10.20.0.6] out: tcp        0      1 190.10.1.16:35095       192.168.0.4:6080        SYN_SENT    41115/haproxy   
[10.20.0.6] out: Active UNIX domain sockets (servers and established)
[10.20.0.6] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.6] out: unix  2      [ ACC ]     STREAM     LISTENING     56457    41115/haproxy       /var/lib/haproxy/stats.41111.tmp
[10.20.0.6] out: unix  2      [ ]         DGRAM                    56459    41115/haproxy       
[10.20.0.6] out: Namespace: vrouter
[10.20.0.6] out: Active Internet connections (servers and established)
[10.20.0.6] out: Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
[10.20.0.6] out: tcp        0      0 192.168.0.1:53          0.0.0.0:*               LISTEN      6084/dnsmasq    
[10.20.0.6] out: udp        0      0 0.0.0.0:54876           0.0.0.0:*                           2841/conntrackd 
[10.20.0.6] out: udp        0      0 192.168.0.1:53          0.0.0.0:*                           6084/dnsmasq    
[10.20.0.6] out: udp        0      0 240.1.0.4:123           0.0.0.0:*                           27957/ntpd      
[10.20.0.6] out: udp        0      0 240.0.0.6:123           0.0.0.0:*                           27957/ntpd      
[10.20.0.6] out: udp        0      0 127.0.0.1:123           0.0.0.0:*                           27957/ntpd      
[10.20.0.6] out: udp        0      0 0.0.0.0:123             0.0.0.0:*                           27957/ntpd      
[10.20.0.6] out: udp        0      0 0.0.0.0:3780            0.0.0.0:*                           2841/conntrackd 
[10.20.0.6] out: Active UNIX domain sockets (servers and established)
[10.20.0.6] out: Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
[10.20.0.6] out: unix  2      [ ACC ]     STREAM     LISTENING     215084   2841/conntrackd     /var/run/conntrackd.ctl
[10.20.0.6] out: unix  2      [ ]         DGRAM                    805246   6084/dnsmasq        
[10.20.0.6] out: 

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