spark: the AMPS command-line client
Last updated
Last updated
AMPS provides the utility as a command line interface to interacting with an AMPS server. spark
provides many of the capabilities of the AMPS client libraries through this interface. The utility lets you execute AMPS commands from the command line. spark
is a Java application, and requires Java runtime environment version 1.7 or later on the system.
spark
is most commonly used for ad hoc testing or simple maintenance tasks. For more complicated tasks or more sophisticated maintenance, 60East recommends using one of the client libraries (such as the AMPS Python Client).
To test spark
with the sample configuration, run the following command:
This command tests connectivity to the AMPS server running at port 9007
on the local system. It confirms that the server is listening on that port using the default protocol for AMPS and accepts JSON messages on that port. The command should produce output like the following:
You can read more about and other useful tools for troubleshooting AMPS in the chapter of the.