erlware/relx — pull request #284 by lukebakken (2014-12-24 20:15:05+00:00)
Title: 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.