mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
673 B
673 B
Tools
S2SS comes with a couple of tools to test and debug:
send
can be used to send samples from STDIN to a nodereceive
can be used to read samples from a node and write it to STDOUTrandom
writes random sample data to STDOUT
Examples
-
Start server:
$ ./server etc/example.conf
-
Receive/dump data to file
$ ./receive etc/example.conf node_name > dump.csv
-
Replay recorded data:
$ ./send etc/example.conf -r node_name < dump.csv
-
Send random generated values:
$ ./random 4 100 | sudo ./send etc/example.conf destination_node
-
Test ping/pong latency:
$ ./test latency etc/example.conf test_node