PluginMemory
#1
This plugin allows you to view the amount of memory that is consumed by each plugin in the server. Either use the console command "plugmem" to see the current memory usage in the console, or have a look at the webadmin page that has per-plugin live graphs of the memory use:
[Image: pluginmemory_1.png]

Source: https://github.com/madmaxoft/PluginMemory
Download: https://github.com/madmaxoft/PluginMemor...master.zip
Reply
Thanks given by:
#2
Just a suggestion, but if you're loading jquery for the graphs, you could use $.post, http://api.jquery.com/jquery.post/ to simplify your ajax request.
Reply
Thanks given by:
#3
the url is http://api.jquery.com/jQuery.post/ Wink
Reply
Thanks given by:
#4
Awesome ;D I used to use my executor plugin that would execute this:
cPluginManager:Get():ForEachPlugin(
	function(a_Plugin)
		if ((a_Plugin:GetName() ~= cPluginManager:GetCurrentPlugin():GetName()) and (a_Plugin:IsLoaded())) then
			print(a_Plugin:GetName(), string.format("%.4f", cPluginManager:CallPlugin(a_Plugin:GetName(), "collectgarbage", "count") / 1024) .. "MB")
		end
	end
)

But this is much nicer ;D
Reply
Thanks given by:
#5
@NiLSPACE I finally learnt how to make the graphs live, now we can use the same technology for PerfPages Smile
Reply
Thanks given by:
#6
That would be great Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)