<div dir="ltr">Hi all,<div>Let's say that you have a running node, started from a release command:<br></div><div>$ myapp start</div><div><br></div><div>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:<br></div><div><br></div><div>$ myappctl memory</div><div>total:14303080</div><div><br></div><div>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?<br></div><div><br></div><div>There are many ways, I'd like to hear some recommendations.</div><div><br></div><div>Best,</div><div>r.</div>







</div>