diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-08 12:24:30 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-08 12:24:30 +0100 |
commit | c0b7cbaf64ebf76f57cadd24b6890485aa514d8f (patch) | |
tree | 1ef2bf6a72a8ac312b4a49fbbf3b20d18f29d46f | |
parent | 4b912ba6b41fe1387841ac36a3a9965456c96125 (diff) | |
download | rabbitmq-server-c0b7cbaf64ebf76f57cadd24b6890485aa514d8f.tar.gz |
cosmetic: trains station
-rw-r--r-- | src/rabbit_vm.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_vm.erl b/src/rabbit_vm.erl index 2b9b827b..c28584c4 100644 --- a/src/rabbit_vm.erl +++ b/src/rabbit_vm.erl @@ -44,7 +44,7 @@ memory() -> pid_memory(msg_store_persistent)), MgmtDbETS = ets_memory(rabbit_mgmt_db), MgmtDbProc = sup_memory(rabbit_mgmt_sup), - Plugins = plugins_memory() - MgmtDbProc, + Plugins = plugin_memory() - MgmtDbProc, [{total, Total}, {processes, Processes}, @@ -110,7 +110,7 @@ ets_memory(Name) -> bytes(Words) -> Words * erlang:system_info(wordsize). -plugins_memory() -> +plugin_memory() -> lists:sum([plugin_memory(App) || {App, _, _} <- application:which_applications(), is_plugin(atom_to_list(App))]). |