Project

General

Profile

« Previous | Next » 

Revision ee3275af

Added by Pavel Moravec over 8 years ago

Fixes #11677 - foreman-debug: netstat to print all connections

netstat and ss to be called with "-a" instead of "-l" option to collect
all sockets and not only listening

Signed-off-by: Pavel Moravec <>

View differences:

script/foreman-debug
add_cmd "iptables -L -v -n" "iptables"
add_cmd "ifconfig -a" "ifconfig"
add_cmd "route -n" "route"
add_cmd "netstat -tulpn" "netstat"
add_cmd "netstat -putna" "netstat"
add_cmd "ip a" "ip_a"
add_cmd "ip r" "ip_r"
add_cmd "ss -tulpn" "ss"
add_cmd "ss -putna" "ss"
add_cmd "cat /etc/hosts" "hosts"
add_cmd "ping -c1 -W1 localhost" "ping_localhost"
add_cmd "ping -c1 -W1 $(hostname)" "ping_hostname"

Also available in: Unified diff