From b4cb45bb79619306b25c67c770165ab752aeb742 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 17 Apr 2009 21:48:48 +0000 Subject: 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. --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs') diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 9794a10..f22a6e8 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -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 { /// @@ -454,6 +458,10 @@ namespace OpenSim.Framework.Servers } } + + public string StatReport() { + return m_stats.XReport(); + } protected void RemovePIDFile() { -- cgit v1.1