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 | 571f68ed98a25c014411f93106b58be010ceb515 (patch) | |
tree | 961c140fa3c21025beef2033901774ced7b6c10c | |
parent | f4c47ea3cf0264003194a03dafe3ab1c1bf9be9f (diff) | |
download | rabbitmq-server-571f68ed98a25c014411f93106b58be010ceb515.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 67e2e40f..5ff96f90 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) -> |