diff options
author | Oren Hurvitz | 2014-06-29 18:49:27 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-07-21 09:10:50 +0100 |
commit | af3498efdbd0b165a7e37095b1d8a9e54723993c (patch) | |
tree | 6ce955802b93f276b53e8a47f346222772e0a637 /OpenSim/Region/OptionalModules/Agent/UDP | |
parent | Write UDP statistics to the log, not just the console (e.g., "show queues") (diff) | |
download | opensim-SC-af3498efdbd0b165a7e37095b1d8a9e54723993c.zip opensim-SC-af3498efdbd0b165a7e37095b1d8a9e54723993c.tar.gz opensim-SC-af3498efdbd0b165a7e37095b1d8a9e54723993c.tar.bz2 opensim-SC-af3498efdbd0b165a7e37095b1d8a9e54723993c.tar.xz |
In "show throttles", show the maximum drip rate. This shows whether a client is being throttled due to past poor performance.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Agent/UDP')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs index 2637b00..6e8a1bf 100644 --- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | |||
@@ -487,7 +487,8 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
487 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); | 487 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); |
488 | 488 | ||
489 | report.AppendFormat( | 489 | report.AppendFormat( |
490 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n", | 490 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", |
491 | "Max", | ||
491 | "Total", | 492 | "Total", |
492 | "Resend", | 493 | "Resend", |
493 | "Land", | 494 | "Land", |
@@ -499,7 +500,8 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
499 | 500 | ||
500 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | 501 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); |
501 | report.AppendFormat( | 502 | report.AppendFormat( |
502 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | 503 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", |
504 | "kb/s", | ||
503 | "kb/s", | 505 | "kb/s", |
504 | "kb/s", | 506 | "kb/s", |
505 | "kb/s", | 507 | "kb/s", |
@@ -548,7 +550,8 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
548 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); | 550 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); |
549 | 551 | ||
550 | report.AppendFormat( | 552 | report.AppendFormat( |
551 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | 553 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}", |
554 | (ci.maxThrottle * 8) / 1000, | ||
552 | (ci.totalThrottle * 8) / 1000, | 555 | (ci.totalThrottle * 8) / 1000, |
553 | (ci.resendThrottle * 8) / 1000, | 556 | (ci.resendThrottle * 8) / 1000, |
554 | (ci.landThrottle * 8) / 1000, | 557 | (ci.landThrottle * 8) / 1000, |
@@ -584,7 +587,8 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
584 | 587 | ||
585 | ThrottleRates throttleRates = udpServer.ThrottleRates; | 588 | ThrottleRates throttleRates = udpServer.ThrottleRates; |
586 | report.AppendFormat( | 589 | report.AppendFormat( |
587 | "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}", | 590 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}", |
591 | "-", | ||
588 | (throttleRates.Total * 8) / 1000, | 592 | (throttleRates.Total * 8) / 1000, |
589 | (throttleRates.Resend * 8) / 1000, | 593 | (throttleRates.Resend * 8) / 1000, |
590 | (throttleRates.Land * 8) / 1000, | 594 | (throttleRates.Land * 8) / 1000, |