[erlang-questions] Command-line for releases
Sun Dec 28 12:16:16 CET 2014
Let's say that you have a running node, started from a release command:
$ myapp start
Now, I'd like to check some current stats of the node (for instance, with
erlang:memory/0), but would like to do it with an external script, i.e. a
command-line tool so that it gets printed in the console, like so:
$ myappctl memory
What is your recommended way to have a command-line tool connect to a
release-started erlang node to issue a command and return a value?
There are many ways, I'd like to hear some recommendations.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions