diff options
author | Luke Bakken <[email protected]> | 2014-12-24 12:11:32 -0800 |
---|---|---|
committer | Luke Bakken <[email protected]> | 2014-12-24 12:11:32 -0800 |
commit | 2e150d42e702fecd3b59eb97a708a53754db377b (patch) | |
tree | 674a3375efc21cc86da064eb63c175cba49fb698 /src/rlx_state.erl | |
parent | 8a64fd860e354cd3c32b5d6471052314bdd50674 (diff) | |
download | relx-2e150d42e702fecd3b59eb97a708a53754db377b.tar.gz relx-2e150d42e702fecd3b59eb97a708a53754db377b.tar.bz2 relx-2e150d42e702fecd3b59eb97a708a53754db377b.zip |
Use nodetool to get VM PID
Rather than use `ps`, `grep` and `awk` to get the `beam.smp` process id,
use the `os:getpid` function.
Also, provide a `pid` command to facilitate retrieving the VM's process
id at a later time. Useful for when running via `monit`, for instance.
Diffstat (limited to 'src/rlx_state.erl')
0 files changed, 0 insertions, 0 deletions