diff options
author | Justin Clarke Casey | 2008-05-14 21:53:40 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-14 21:53:40 +0000 |
commit | 0f501629618fe1655b7ba653802056b5c32dbae6 (patch) | |
tree | 8a7f2808a27f97a60d1901263155906256e6f46a /OpenSim/Region/Application/OpenSimMainConsole.cs | |
parent | * Refactor: Renaming non viewer statistics classes from Reporters to Collecto... (diff) | |
download | opensim-SC_OLD-0f501629618fe1655b7ba653802056b5c32dbae6.zip opensim-SC_OLD-0f501629618fe1655b7ba653802056b5c32dbae6.tar.gz opensim-SC_OLD-0f501629618fe1655b7ba653802056b5c32dbae6.tar.bz2 opensim-SC_OLD-0f501629618fe1655b7ba653802056b5c32dbae6.tar.xz |
* Refactor additional stats collection common code into base opensim server
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMainConsole.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs index 39f2b7b..2381f57 100644 --- a/OpenSim/Region/Application/OpenSimMainConsole.cs +++ b/OpenSim/Region/Application/OpenSimMainConsole.cs | |||
@@ -252,8 +252,7 @@ namespace OpenSim | |||
252 | m_console.Notice("set-time [x] - set the current scene time phase"); | 252 | m_console.Notice("set-time [x] - set the current scene time phase"); |
253 | m_console.Notice("show assets - show state of asset cache."); | 253 | m_console.Notice("show assets - show state of asset cache."); |
254 | m_console.Notice("show users - show info about connected users."); | 254 | m_console.Notice("show users - show info about connected users."); |
255 | m_console.Notice("show modules - shows info about loaded modules."); | 255 | m_console.Notice("show modules - shows info about loaded modules."); |
256 | m_console.Notice("show stats - statistical information for this server"); | ||
257 | m_console.Notice("show version - show the running build version."); | 256 | m_console.Notice("show version - show the running build version."); |
258 | m_console.Notice("threads - list threads"); | 257 | m_console.Notice("threads - list threads"); |
259 | m_console.Notice("config set section field value - set a config value"); | 258 | m_console.Notice("config set section field value - set a config value"); |
@@ -595,18 +594,6 @@ namespace OpenSim | |||
595 | scene.RegionInfo.RegionLocY); | 594 | scene.RegionInfo.RegionLocY); |
596 | }); | 595 | }); |
597 | break; | 596 | break; |
598 | |||
599 | case "stats": | ||
600 | if (StatsManager.SimExtraStats != null) | ||
601 | { | ||
602 | m_console.Notice( | ||
603 | "STATS", Environment.NewLine + StatsManager.SimExtraStats.Report()); | ||
604 | } | ||
605 | else | ||
606 | { | ||
607 | m_console.Notice("Extra sim statistics collection has not been enabled"); | ||
608 | } | ||
609 | break; | ||
610 | 597 | ||
611 | case "version": | 598 | case "version": |
612 | if (!string.IsNullOrEmpty(buildVersion)) | 599 | if (!string.IsNullOrEmpty(buildVersion)) |