Skip to content
Search

Tcping

lastmod 2024-05-04created 2023-08-164 edits

Usage

Arguments must be in the order below for the check to work correctly.

tcping [Option] [Server IP] [Server Port]

Options

  • -t - Ping continuously until stopped with control-c
  • -n - Check n results (default is 4)
  • -i - Wait n seconds between pings (default is 1)
  • -w - Set a wait time of N seconds for a response
  • -d - Show date and time on each line
  • -f - Force sending one byte in addition to the traffic generated by the connection
  • -g - Exit tcping if n pings fail
  • -b - Use a beep ( 1 = on failure, 2 = on success, 3 = on change, 4 = always )
  • -r - Re-fetch DNS information after every n checks
  • -s - Exit tcping if the ping check succeeds
  • -v - Show tcping version information
  • -j - Show the jitter value; jitter is defined as the difference between the last response time and the historical average
  • -4 - IPv4 communication
  • -6 - IPv6 communication
  • -c - Print only when the state changes after the initial state check
  • --tee - Save tcping results to a file
  • --file - Run ping checks using a file containing a DNS list and ports ( -j and -c options cannot be used)
  • --fqdn - Print the DNS name when using reverse DNS
  • --color - Use colored output for error messages; colors can be changed together with the --ansi option
  • -h - HTTP mode (use the URL without http://); useful together with the -u option.
  • -u - Show the target URL on each line
  • --post - Use POST instead of GET when checking
  • --head - Use HEAD instead of GET when checking

See also

Favorite site

author Zer0 sitemap