Shangrila
Mind stream
Wednesday, December 17, 2014
Using netcat
Send a string (e.g. to a Graphite server)
echo "metrics.test.random $RANDOM $(date +%s)" | nc 10.60.35.50 2003
Test status of a TCP daemon
nc -vz someserver port
-v: verbose
-z: scan for listening daemons but send no data
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment