[erlang-questions] Monitoring
Steve Vinoski
vinoski@REDACTED
Sun Sep 15 16:31:03 CEST 2013
On Sun, Sep 15, 2013 at 9:44 AM, Lee Sylvester <lee.sylvester@REDACTED>wrote:
> Hey guys,
>
> So, I want to monitor my Erlang apps. Currently, I'm using Monit to
> monitor my other (non-Erlang) apps. Can I hook Monit up to monitor my
> Erlang apps, too? If so, what is the best to get the PID of the running
> Erlang app, so I can monitor it? I've tried to do this with a service
> script, but querying $! reveals nothing and there are just too many apps
> supporting my Erlang app to keep track of. If Monit is NOT the best
> option, then what is?
>
Perhaps you can write the output of os:getpid() somewhere for your
monitoring tool to find it?
http://erlang.org/doc/man/os.html#getpid-0
--steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130915/92e67943/attachment.htm>
More information about the erlang-questions
mailing list