mod_statistics/top.lua: Display the more detailed memory stats
authorKim Alvefur <zash@zash.se>
Sat, 15 Jun 2013 21:02:48 +0100
changeset 1079 87a091f88a1d
parent 1078 5f398922f0a3
child 1080 3af947e2e6d4
mod_statistics/top.lua: Display the more detailed memory stats
mod_statistics/top.lua
--- 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";
 };