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 | d412d9a89e6d89323dac7d4b9aab9a1fd947334e (patch) | |
| tree | 1ef2bf6a72a8ac312b4a49fbbf3b20d18f29d46f /src | |
| parent | 999068a45bf161fb9f12fe63eb11baef4d5a71d0 (diff) | |
| download | rabbitmq-server-git-d412d9a89e6d89323dac7d4b9aab9a1fd947334e.tar.gz | |
cosmetic: trains station
Diffstat (limited to 'src')
| -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 2b9b827b44..c28584c4df 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))]). |
