aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/AssetServer/Main.cs13
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs
index 77e4628..1b1f9c7 100644
--- a/OpenSim/Grid/AssetServer/Main.cs
+++ b/OpenSim/Grid/AssetServer/Main.cs
@@ -98,7 +98,7 @@ namespace OpenSim.Grid.AssetServer
98 m_log.Info("[ASSET]: Starting HTTP process"); 98 m_log.Info("[ASSET]: Starting HTTP process");
99 m_httpServer = new BaseHttpServer(m_config.HttpPort); 99 m_httpServer = new BaseHttpServer(m_config.HttpPort);
100 100
101 StatsManager.StartCollectingAssetStats(); 101 m_stats = StatsManager.StartCollectingAssetStats();
102 102
103 AddHttpHandlers(); 103 AddHttpHandlers();
104 104
@@ -179,16 +179,7 @@ namespace OpenSim.Grid.AssetServer
179 base.RunCmd(cmd, cmdparams); 179 base.RunCmd(cmd, cmdparams);
180 180
181 switch (cmd) 181 switch (cmd)
182 { 182 {
183 case "help":
184 m_console.Notice("stats - statistical information for this server");
185
186 break;
187
188 case "stats":
189 m_console.Notice("STATS", Environment.NewLine + StatsManager.AssetStats.Report());
190 break;
191
192 case "shutdown": 183 case "shutdown":
193 m_console.Close(); 184 m_console.Close();
194 Environment.Exit(0); 185 Environment.Exit(0);