This is an old revision of the document!
Installing OpenILS will place an executable called 'srfsh' (surf shell) into the BINDIR directory. This is a command line diagnostic tool for interacting with the OpenSRF network.
For starters, there is a command called math_bench in srfsh that sends queries to the math servers. Note that opensrf.math and opensrf.dbmath must be running for this command to work:
srfsh# math_bench 10
……… | ……… | ……… | ……… | ……… | ……… | ……… | ……… | ……… |
++++++++++++++++++++++++++++++++++++++++
Average round trip time: 0.033425
srfsh#
The first argument is how many sets of 4 queries (+ - * /) are sent to opensrf.math. When the response is successful, you will see the string of "+" symbols. If the system is not running correctly, you will either get an exception or no result at all.
For other srfsh commands, type 'help' in at the prompt.