mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user