aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorDiva Canto2013-07-19 22:11:32 -0700
committerDiva Canto2013-07-21 09:00:27 -0700
commit174105ad028c5ed318850238d97aa7c3b1d7f207 (patch)
tree050fb4309ccde12d3767e4f54d1116688dd5fdd3 /OpenSim/Region/OptionalModules
parentRemoved verbose debug from previous commit (diff)
downloadopensim-SC-174105ad028c5ed318850238d97aa7c3b1d7f207.zip
opensim-SC-174105ad028c5ed318850238d97aa7c3b1d7f207.tar.gz
opensim-SC-174105ad028c5ed318850238d97aa7c3b1d7f207.tar.bz2
opensim-SC-174105ad028c5ed318850238d97aa7c3b1d7f207.tar.xz
Fixed the stats in show client stats. Also left some comments with observations about AgentUpdates.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
index 3e6067d..15dea17 100644
--- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
+++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
@@ -611,7 +611,7 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden
611 // 611 //
612 if (showParams.Length <= 4) 612 if (showParams.Length <= 4)
613 { 613 {
614 m_log.InfoFormat("[INFO]: {0,-12} {1,-20} {2,-6} {3,-11} {4,-11} {5,-16}", "Region", "Name", "Root", "Time", "Reqs/min", "Sig. AgentUpdates"); 614 m_log.InfoFormat("[INFO]: {0,-12} {1,-20} {2,-6} {3,-11} {4,-11} {5,-16}", "Region", "Name", "Root", "Time", "Reqs/min", "AgentUpdates");
615 foreach (Scene scene in m_scenes.Values) 615 foreach (Scene scene in m_scenes.Values)
616 { 616 {
617 scene.ForEachClient( 617 scene.ForEachClient(
@@ -630,9 +630,9 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden
630 (DateTime.Now - cinfo.StartedTime).Minutes, 630 (DateTime.Now - cinfo.StartedTime).Minutes,
631 avg_reqs, 631 avg_reqs,
632 string.Format( 632 string.Format(
633 "{0}, {1}%", 633 "{0} ({1:0.00}%)",
634 llClient.TotalSignificantAgentUpdates, 634 llClient.TotalAgentUpdates,
635 (float)llClient.TotalSignificantAgentUpdates / cinfo.SyncRequests["AgentUpdate"] * 100)); 635 (float)cinfo.SyncRequests["AgentUpdate"] / llClient.TotalAgentUpdates * 100));
636 } 636 }
637 }); 637 });
638 } 638 }