Difference between revisions of "Check tcp"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
</pre>
 
</pre>
  
 +
== Related commands ==
 +
* <code>[[nping --tcp]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 13:57, 18 July 2021

/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80
 /usr/lib/nagios/plugins/[[check_tcp]] -H 127.0.0.1 -p 80
 TCP OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000


macOS

/usr/local/Cellar/nagios-plugins/2.3.3/sbin/check_tcp -H google.com -p 80
TCP OK - 0.136 second response time on google.com port 2222|time=0.136283s;;;0.000000;10.000000

Related commands

See also

Advertising: