Hi, Expert
I usually used the command of esxcli network ip connection list | grep 443 to check the connectivity.
But sometimes I need to see the name of column with result so I used below command... sorry I am not good at linux command.
Anyone have better idea for that? Thanks in advance!
[root@esxcomp-01a:~] esxcli network ip connection list | head -2 > a ; esxcli network ip connection list | grep 443 | grep ESTABLISHED > b ; cat a b ; rm a b
Proto Recv Q Send Q Local Address Foreign Address State World ID CC Algo World Name
----- ------ ------ -------------------- -------------------- ----------- -------- ------- ---------------
tcp 0 0 127.0.0.1:443 127.0.0.1:51035 ESTABLISHED 33934 newreno rhttpproxy-work
tcp 0 795 127.0.0.1:51035 127.0.0.1:443 ESTABLISHED 10037238 newreno python
tcp 0 0 192.168.120.51:443 192.168.110.22:52303 ESTABLISHED 9160241 newreno rhttpproxy-work
tcp 0 0 192.168.120.51:443 192.168.110.22:52302 ESTABLISHED 2296830 newreno rhttpproxy-work
tcp 0 0 192.168.120.51:443 192.168.110.22:48985 ESTABLISHED 33930 newreno rhttpproxy-work
tcp 0 0 192.168.120.51:443 192.168.110.22:38842 ESTABLISHED 33933 newreno rhttpproxy-work
[root@esxcomp-01a:~]