comparison mod_statistics/top.lua @ 1082:6c555e7dc942

mod_statistics/top.lua: Adjust displayed memory stats for previous commit (3e2c4f424797)
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Jun 2013 22:11:30 +0100
parents 87a091f88a1d
children 6685ebe6f8cf
comparison
equal deleted inserted replaced
1081:3e2c4f424797 1082:6c555e7dc942
13 top.__index = top; 13 top.__index = top;
14 14
15 local status_lines = { 15 local status_lines = {
16 "Prosody $version - $time up $up_since, $total_users users, $cpu busy"; 16 "Prosody $version - $time up $up_since, $total_users users, $cpu busy";
17 "Connections: $total_c2s c2s, $total_s2sout s2sout, $total_s2sin s2sin, $total_component component"; 17 "Connections: $total_c2s c2s, $total_s2sout s2sout, $total_s2sin s2sin, $total_component component";
18 "Memory: $memory_lua lua, $memory_used used, $memory_allocated allocated, $memory_rss resident, $memory_total total"; 18 "Memory: $memory_lua lua, $memory_allocated process ($memory_used in use)";
19 "Stanzas in: $message_in_per_second message/s, $presence_in_per_second presence/s, $iq_in_per_second iq/s"; 19 "Stanzas in: $message_in_per_second message/s, $presence_in_per_second presence/s, $iq_in_per_second iq/s";
20 "Stanzas out: $message_out_per_second message/s, $presence_out_per_second presence/s, $iq_out_per_second iq/s"; 20 "Stanzas out: $message_out_per_second message/s, $presence_out_per_second presence/s, $iq_out_per_second iq/s";
21 }; 21 };
22 22
23 function top:draw() 23 function top:draw()