Take babysitter pid as a command line parameter.
Take babysitter pid as a command line parameter.

Erlang 20 starts all processes via an intermediate process called
erl_child_setup. This breaks the old logic of finding out the
babysitter pid by going two levels up in the process hierarchy. And as
a consequence of this, we don't collect information about processes
like memcached.

This change addresses this by accepting the babysitter pid on the
command line instead of trying to deduce it.

Change-Id: Ia1e103f5a40ff6205a8feaf9ea85fcefe7689300
Reviewed-on: http://review.couchbase.org/112378
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>
Reviewed-by: Artem Stemkovski <15a0730a27c69f62ab86f2b6c639fca202166c02@couchbase.com>
Tested-by: Aliaksey Artamonau <ce14b1c16e0fd654f926118eb8addbec5aff4ffa@couchbase.com>

couchbase/sigar,couchbase/sigar