diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-02-09 16:56:18 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-02-09 16:56:18 +0000 |
| commit | d743c195c35ef618170d720ef77f6f543220905f (patch) | |
| tree | 961c140fa3c21025beef2033901774ced7b6c10c | |
| parent | 190f53514c8313a12b8a9bea1f2b63e55d072ff8 (diff) | |
| download | rabbitmq-server-git-d743c195c35ef618170d720ef77f6f543220905f.tar.gz | |
Add pid to rabbitmqctl status.
| -rw-r--r-- | src/rabbit.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 67e2e40f47..5ff96f904c 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -212,7 +212,8 @@ stop_and_halt() -> ok. status() -> - [{running_applications, application:which_applications()}] ++ + [{pid, list_to_integer(os:getpid())}, + {running_applications, application:which_applications()}] ++ rabbit_mnesia:status(). rotate_logs(BinarySuffix) -> |
