aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-23 04:10:45 +0100
committerJustin Clark-Casey (justincc)2012-05-23 04:10:45 +0100
commitee98b9c394900f55684e33829be1c182e84b2cab (patch)
treed11aeea9a60faaa470a673a6444fd876f4dc0b42 /OpenSim/Region/Framework
parentrefactor: Rename ConsoleTableRow and ConsoleTableColumn to ConsoleDisplayTabl... (diff)
downloadopensim-SC_OLD-ee98b9c394900f55684e33829be1c182e84b2cab.zip
opensim-SC_OLD-ee98b9c394900f55684e33829be1c182e84b2cab.tar.gz
opensim-SC_OLD-ee98b9c394900f55684e33829be1c182e84b2cab.tar.bz2
opensim-SC_OLD-ee98b9c394900f55684e33829be1c182e84b2cab.tar.xz
Add "show scene" command which lists stats for the currently selected console scene(s)
This includes prim count, script count, avatar count, etc. Information is currently the same as "show stats", though show stats can only show one scene at a time because it listens for the latest outgoing stats packet (a bad approach that needs to change). Might be better to tie this module into the other stats module to display arbitrary stats rather than fetching directly from scene.SimStatsReporter. Console command is "show scene" because "show region" already exists for the grid service, which is unfortunate. Might need to make a distinction between "scene" relating to a live scene and "region" relating to more static region data (url, coords, etc.)
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 5a0f564..fbe56f6 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -77,7 +77,12 @@ namespace OpenSim.Region.Framework.Scenes
77 public bool DebugUpdates { get; private set; } 77 public bool DebugUpdates { get; private set; }
78 78
79 public SynchronizeSceneHandler SynchronizeScene; 79 public SynchronizeSceneHandler SynchronizeScene;
80 public SimStatsReporter StatsReporter; 80
81 /// <summary>
82 /// Statistical information for this scene.
83 /// </summary>
84 public SimStatsReporter StatsReporter { get; private set; }
85
81 public List<Border> NorthBorders = new List<Border>(); 86 public List<Border> NorthBorders = new List<Border>();
82 public List<Border> EastBorders = new List<Border>(); 87 public List<Border> EastBorders = new List<Border>();
83 public List<Border> SouthBorders = new List<Border>(); 88 public List<Border> SouthBorders = new List<Border>();