Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:

This patch adds extended status reporting with the url 
http://server:port/simstatusx/ [^] . The data is returned 
in json format as "text/plain" type.
This commit is contained in:
Charles Krinke
2009-04-17 21:48:48 +00:00
parent 07c113a766
commit b4cb45bb79
8 changed files with 128 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ using OpenSim.Framework.Console;
using OpenSim.Framework.Statistics;
using Timer=System.Timers.Timer;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace OpenSim.Framework.Servers
{
/// <summary>
@@ -454,6 +458,10 @@ namespace OpenSim.Framework.Servers
}
}
public string StatReport() {
return m_stats.XReport();
}
protected void RemovePIDFile()
{