Software /
code /
prosody-modules
Diff
mod_statistics/top.lua @ 1079:87a091f88a1d
mod_statistics/top.lua: Display the more detailed memory stats
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jun 2013 21:02:48 +0100 |
parent | 1078:5f398922f0a3 |
child | 1082:6c555e7dc942 |
line wrap: on
line diff
--- a/mod_statistics/top.lua Sat Jun 15 21:01:28 2013 +0100 +++ b/mod_statistics/top.lua Sat Jun 15 21:02:48 2013 +0100 @@ -15,7 +15,7 @@ local status_lines = { "Prosody $version - $time up $up_since, $total_users users, $cpu busy"; "Connections: $total_c2s c2s, $total_s2sout s2sout, $total_s2sin s2sin, $total_component component"; - "Memory: $memory_used lua, $memory_process process"; + "Memory: $memory_lua lua, $memory_used used, $memory_allocated allocated, $memory_rss resident, $memory_total total"; "Stanzas in: $message_in_per_second message/s, $presence_in_per_second presence/s, $iq_in_per_second iq/s"; "Stanzas out: $message_out_per_second message/s, $presence_out_per_second presence/s, $iq_out_per_second iq/s"; };