aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-13 19:53:42 +0100
committerJustin Clark-Casey (justincc)2014-08-13 19:53:42 +0100
commitf1f935ed9543141cc5861a7204b6df85a7358ab4 (patch)
treea16c08b5df4397b96a306c45583d804745df8698 /OpenSim/Framework/Monitoring
parentFor pCampbot, set max number of permitted connections to an endpoint to int.M... (diff)
downloadopensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.zip
opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.gz
opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.bz2
opensim-SC-f1f935ed9543141cc5861a7204b6df85a7358ab4.tar.xz
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.
Diffstat (limited to 'OpenSim/Framework/Monitoring')
-rw-r--r--OpenSim/Framework/Monitoring/ServerStatsCollector.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
index ff0fcd5..77315bb 100644
--- a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
+++ b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
@@ -82,6 +82,9 @@ namespace OpenSim.Framework.Monitoring
82 // IRegionModuleBase.Initialize 82 // IRegionModuleBase.Initialize
83 public void Initialise(IConfigSource source) 83 public void Initialise(IConfigSource source)
84 { 84 {
85 if (source == null)
86 return;
87
85 IConfig cfg = source.Configs["Monitoring"]; 88 IConfig cfg = source.Configs["Monitoring"];
86 89
87 if (cfg != null) 90 if (cfg != null)