foreman-debug: netstat to print also ESTABLISHED connections
Description of problem:
foreman-debug generates netstat file as an output of "netstat -tulpn" command. -l means only listening sockets are displayed. While it is often important to see also established connections, i.e. celery connected to CDN:443 during repo sync, goferd on a content host to 5647, dispatch router on capsule to 5646, etc. If some such connection is missing, it is a symptom of some problem - but netstat in foreman-debug does not provide that info.
Please provide "netstat
putna" output rather (-l -> -a, print all sockets).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. (in extracted tarball): grep ESTAB netstat
no established TCP connection
many established connections, like:
tcp 0 0 188.8.131.52:40912 184.108.40.206:5671 ESTABLISHED 25428/qdrouterd
Same applies to "ss" command as an alternative to netstat