Rev | Line | |
---|
[224] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | namespace AllocsFixes.CustomCommands
|
---|
| 5 | {
|
---|
| 6 | public class webstat : ConsoleCommand
|
---|
| 7 | {
|
---|
| 8 | public webstat (ConsoleSdtd cons) : base(cons)
|
---|
| 9 | {
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | public override string Description ()
|
---|
| 13 | {
|
---|
| 14 | return "DEBUG PURPOSES ONLY";
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | public override string[] Names ()
|
---|
| 18 | {
|
---|
| 19 | return new string[] { "webstat", string.Empty };
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | public override void Run (string[] _params)
|
---|
| 23 | {
|
---|
| 24 | try {
|
---|
| 25 | m_Console.SendResult ("Current handlers: " + AllocsFixes.NetConnections.Servers.Web.Web.currentHandlers + " - total: " + AllocsFixes.NetConnections.Servers.Web.Web.handlingCount);
|
---|
| 26 | } catch (Exception e) {
|
---|
| 27 | Log.Out ("Error in webstat.Run: " + e);
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.