Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulator

This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc.
It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-08-13 19:53:42 +01:00
parent f1cec684e2
commit f1f935ed95
5 changed files with 47 additions and 0 deletions

View File

@@ -82,6 +82,9 @@ namespace OpenSim.Framework.Monitoring
// IRegionModuleBase.Initialize
public void Initialise(IConfigSource source)
{
if (source == null)
return;
IConfig cfg = source.Configs["Monitoring"];
if (cfg != null)