tcp-keepalive

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2017 License: MIT Imports: 3 Imported by: 0

README

tcp-keepalive

tcp keepalive probe or measure tool

Depends

Install

go get github.com/felixge/tcpkeepalive
go get github.com/urfave/cli

git clone https://github.com/Openresty-App/tcp-keepalive
cd tcp-keepalive


go build -o tcp-keepalive

Downloads

provides official pre-built packages

  • Linux
  • macOS
  • Solaris
  • FreeBSD
  • Windows

Measure

#./tcp-keepalive help measure
NAME:
   tcp-keepalive measure - Send tcp heart and statistic

USAGE:
   tcp-keepalive measure [command options] [arguments...]

OPTIONS:
   --interface value, -i value  interface (default: "eth0")
   --host value, -H value       host (default: "127.0.0.1")
   --port value, -P value       port (default: 80)
   --idleTime value             idleTime (default: 3)
   --retranCount value          retranCount (default: 10)
   --interval value             interval (default: 3)

./tcp-keepalive measure -H www.baidu.com -P 443

Probe

#./tcp-keepalive help probe
NAME:
   tcp-keepalive probe - Check whether the server supports heartbeat

USAGE:
   tcp-keepalive probe [command options] [arguments...]

OPTIONS:
   --interface value, -i value  interface (default: "eth0")
   --host value, -H value       host (default: "127.0.0.1")
   --port value, -P value       port (default: 80)
   --idleTime value             idleTime (default: 3)
   --retranCount value          retranCount (default: 10)

./tcp-keepalive probe -H www.baidu.com -P 443

Team

This tool is maintained by the following person(s) and a bunch of awesome contributors.

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL