diff options
author | Oren Hurvitz | 2014-06-29 18:49:27 +0300 |
---|---|---|
committer | Justin Clark-Casey | 2014-08-02 00:56:26 +0100 |
commit | d616f75d9a5f86da911a7da367b1a911d3d290f0 (patch) | |
tree | 56230df3f1d64e32ee4eea466734fc1f506097e5 /OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | |
parent | Include the group name in group IM's (diff) | |
download | opensim-SC_OLD-d616f75d9a5f86da911a7da367b1a911d3d290f0.zip opensim-SC_OLD-d616f75d9a5f86da911a7da367b1a911d3d290f0.tar.gz opensim-SC_OLD-d616f75d9a5f86da911a7da367b1a911d3d290f0.tar.bz2 opensim-SC_OLD-d616f75d9a5f86da911a7da367b1a911d3d290f0.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 '')
-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 44d4e93..2ef3c4c 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, |