diff options
author | Justin Clark-Casey (justincc) | 2011-01-19 00:33:25 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-01-19 00:33:25 +0000 |
commit | 7f000ea88e3fb09ae1e6cb725ff6c32bef03e3bd (patch) | |
tree | 252d87d03434eb5b7df9cc56167bf2642038c995 /OpenSim/Region | |
parent | Fix build break (diff) | |
download | opensim-SC-7f000ea88e3fb09ae1e6cb725ff6c32bef03e3bd.zip opensim-SC-7f000ea88e3fb09ae1e6cb725ff6c32bef03e3bd.tar.gz opensim-SC-7f000ea88e3fb09ae1e6cb725ff6c32bef03e3bd.tar.bz2 opensim-SC-7f000ea88e3fb09ae1e6cb725ff6c32bef03e3bd.tar.xz |
Correct "show queues" to show queued packet numbers for each client instead of bytes.
Byte amounts aren't actually available - this was a misunderstanding of TokenBucket.Content. But raw packet numbers are.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 24 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 18 |
2 files changed, 21 insertions, 21 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 51eb396..07c1e67 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -1014,22 +1014,22 @@ namespace OpenSim | |||
1014 | report.AppendFormat("{0,-" + maxTypeLength + "}{1,-" + columnPadding + "}", "Type", ""); | 1014 | report.AppendFormat("{0,-" + maxTypeLength + "}{1,-" + columnPadding + "}", "Type", ""); |
1015 | 1015 | ||
1016 | report.AppendFormat( | 1016 | report.AppendFormat( |
1017 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | 1017 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", |
1018 | "Packets", | 1018 | "Pkts", |
1019 | "Packets", | 1019 | "Pkts", |
1020 | "Bytes", | 1020 | "Bytes", |
1021 | "Bytes", | 1021 | "Pkts", |
1022 | "Bytes", | 1022 | "Pkts", |
1023 | "Bytes", | 1023 | "Pkts", |
1024 | "Bytes", | 1024 | "Pkts", |
1025 | "Bytes", | 1025 | "Pkts", |
1026 | "Bytes", | 1026 | "Pkts", |
1027 | "Bytes", | 1027 | "Pkts", |
1028 | "Bytes"); | 1028 | "Pkts"); |
1029 | 1029 | ||
1030 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | 1030 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); |
1031 | report.AppendFormat( | 1031 | report.AppendFormat( |
1032 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", | 1032 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}\n", |
1033 | "Out", | 1033 | "Out", |
1034 | "In", | 1034 | "In", |
1035 | "Unacked", | 1035 | "Unacked", |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index e02783a..d4c3307 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |||
@@ -256,18 +256,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
256 | public string GetStats() | 256 | public string GetStats() |
257 | { | 257 | { |
258 | return string.Format( | 258 | return string.Format( |
259 | "{0,9} {1,9} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}", | 259 | "{0,7} {1,7} {2,9} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7} {10,7}", |
260 | PacketsSent, | 260 | PacketsSent, |
261 | PacketsReceived, | 261 | PacketsReceived, |
262 | UnackedBytes, | 262 | UnackedBytes, |
263 | m_throttleCategories[(int)ThrottleOutPacketType.Resend].Content, | 263 | m_packetOutboxes[(int)ThrottleOutPacketType.Resend].Count, |
264 | m_throttleCategories[(int)ThrottleOutPacketType.Land].Content, | 264 | m_packetOutboxes[(int)ThrottleOutPacketType.Land].Count, |
265 | m_throttleCategories[(int)ThrottleOutPacketType.Wind].Content, | 265 | m_packetOutboxes[(int)ThrottleOutPacketType.Wind].Count, |
266 | m_throttleCategories[(int)ThrottleOutPacketType.Cloud].Content, | 266 | m_packetOutboxes[(int)ThrottleOutPacketType.Cloud].Count, |
267 | m_throttleCategories[(int)ThrottleOutPacketType.Task].Content, | 267 | m_packetOutboxes[(int)ThrottleOutPacketType.Task].Count, |
268 | m_throttleCategories[(int)ThrottleOutPacketType.Texture].Content, | 268 | m_packetOutboxes[(int)ThrottleOutPacketType.Texture].Count, |
269 | m_throttleCategories[(int)ThrottleOutPacketType.Asset].Content, | 269 | m_packetOutboxes[(int)ThrottleOutPacketType.Asset].Count, |
270 | m_throttleCategories[(int)ThrottleOutPacketType.State].Content); | 270 | m_packetOutboxes[(int)ThrottleOutPacketType.State].Count); |
271 | } | 271 | } |
272 | 272 | ||
273 | public void SendPacketStats() | 273 | public void SendPacketStats() |