|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <title>HAProxy version 3.1-dev12-14 - Management Guide</title> |
| 5 | + <title>HAProxy version 3.1-dev13 - Management Guide</title> |
6 | 6 | <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" /> |
7 | 7 | <link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" /> |
8 | 8 | <link href="../css/page.css?0.4.2-15" rel="stylesheet" /> |
|
307 | 307 |
|
308 | 308 | <a class="list-group-item" href="#debug">debug</a> |
309 | 309 |
|
| 310 | + <a class="list-group-item" href="#debug counters">debug counters</a> |
| 311 | + |
310 | 312 | <a class="list-group-item" href="#debug dev">debug dev</a> |
311 | 313 |
|
312 | 314 | <a class="list-group-item" href="#del">del</a> |
|
513 | 515 |
|
514 | 516 | <a class="list-group-item" href="#set weight">set weight</a> |
515 | 517 |
|
516 | | - <a class="list-group-item" href="#show">show</a> |
| 518 | + <a class="list-group-item" href="#show (Unix Socket commands)">show (Unix Socket commands)</a> |
| 519 | + |
| 520 | + <a class="list-group-item" href="#show (Master CLI commands)">show (Master CLI commands)</a> |
517 | 521 |
|
518 | 522 | <a class="list-group-item" href="#show acl">show acl</a> |
519 | 523 |
|
|
648 | 652 | You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br> |
649 | 653 | </p> |
650 | 654 | <p class="text-right"> |
651 | | - <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/11/08</b></small> |
| 655 | + <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/11/15</b></small> |
652 | 656 | </p> |
653 | 657 | </div> |
654 | 658 | <!-- /.sidebar --> |
|
659 | 663 | <div class="text-center"> |
660 | 664 | <h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1> |
661 | 665 | <h2>Management Guide</h2> |
662 | | - <p><strong>version 3.1-dev12-14</strong></p> |
| 666 | + <p><strong>version 3.1-dev13</strong></p> |
663 | 667 | <p> |
664 | 668 | <br> |
665 | 669 |
|
@@ -2778,6 +2782,36 @@ <h2 id="chapter-9.3" data-target="9.3"><small><a class="small" href="#9.3">9.3.< |
2778 | 2782 |
|
2779 | 2783 | See also "<a href="#new%20ssl%20crl-file">new ssl crl-file</a>", "<a href="#set%20ssl%20crl-file">set ssl crl-file</a>", "<a href="#abort%20ssl%20crl-file">abort ssl crl-file</a>" and |
2780 | 2784 | "<a href="#add%20ssl%20crt-list">add ssl crt-list</a>". |
| 2785 | +</pre><a class="anchor" name="debug"></a><a class="anchor" name="9-debug"></a><a class="anchor" name="9.3-debug"></a><a class="anchor" name="debug (Statistics and monitoring)"></a><a class="anchor" name="debug (Unix Socket commands)"></a><a class="anchor" name="debug counters"></a><a class="anchor" name="9-debug counters"></a><a class="anchor" name="9.3-debug counters"></a><a class="anchor" name="debug counters (Statistics and monitoring)"></a><a class="anchor" name="debug counters (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="debug counters"></a><a href="#9.3-debug%20counters">debug counters</a></b> <span style="color: #008">[reset|show|all|bug|chk|cnt|glt|?]</span>*</div><pre class="text">List internal counters placed in the code, which may vary depending on some |
| 2786 | +build options. Some of them depend on DEBUG_STRICT, others on DEBUG_GLITCHES. |
| 2787 | +The command takes a combination of multiple arguments, some defining actions |
| 2788 | +and others defining filters: |
| 2789 | + - bug enables listing the counters for BUG_ON() statements |
| 2790 | + - cnt enables listing the counters for COUNT_IF() statements |
| 2791 | + - chk enables listing the counters for CHECK_IF() statements |
| 2792 | + - glt enables listing the counters for COUNT_GLITCH() statements |
| 2793 | + - all enables showing counters that never triggered (value 0) |
| 2794 | + - reset action: resets all specified counters |
| 2795 | + - show action: shows all specified counters |
| 2796 | + |
| 2797 | +By default, the action is "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">show<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#show%20%28Unix%20Socket%20commands%29">Unix Socket commands</a></li><li><a href="#show%20%28Master%20CLI%20commands%29">Master CLI commands</a></li></ul></span>" to show counters, and the listed counters |
| 2798 | +are all types with a non-zero value. The "<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">show<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#show%20%28Unix%20Socket%20commands%29">Unix Socket commands</a></li><li><a href="#show%20%28Master%20CLI%20commands%29">Master CLI commands</a></li></ul></span>" command is implicit when no |
| 2799 | +other action is specified, and is only present to ease the production of |
| 2800 | +commands from scripts. |
| 2801 | + |
| 2802 | +The output starts with an integer counter, followed by the type of the |
| 2803 | +counter in upper case, then its location in the code (file:line), the |
| 2804 | +function name, and optionally ": " followed by a description. Please note |
| 2805 | +that the output format might change between major versions, and new types |
| 2806 | +and entries might be backported to stable versions for the purpose of |
| 2807 | +improved debugging capabilities. Any monitoring performed on them should |
| 2808 | +only be done in a very lenient and permissive way, and preferably not. |
| 2809 | + |
| 2810 | +Normally, end users will not use this command, but they may be invited to do |
| 2811 | +so by a developer trying to figure the cause of an issue, looking for CNT or |
| 2812 | +GLT entries. By the way, non-zero "CHK" entries are not expected to happen |
| 2813 | +and should be reported to developers as they might indicate some incorrect |
| 2814 | +assumptions in the code. |
2781 | 2815 | </pre><a class="anchor" name="debug"></a><a class="anchor" name="9-debug"></a><a class="anchor" name="9.3-debug"></a><a class="anchor" name="debug (Statistics and monitoring)"></a><a class="anchor" name="debug (Unix Socket commands)"></a><a class="anchor" name="debug dev"></a><a class="anchor" name="9-debug dev"></a><a class="anchor" name="9.3-debug dev"></a><a class="anchor" name="debug dev (Statistics and monitoring)"></a><a class="anchor" name="debug dev (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="debug dev"></a><a href="#9.3-debug%20dev">debug dev</a></b> <span style="color: #080"><command></span> <span style="color: #008">[args]</span>*</div><pre class="text">Call a developer-specific command. Only supported on a CLI connection running |
2782 | 2816 | in expert mode (see "expert-mode on"). Such commands are extremely dangerous |
2783 | 2817 | and not forgiving, any misuse may result in a crash of the process. They are |
@@ -5352,7 +5386,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13 |
5352 | 5386 | <br> |
5353 | 5387 | <hr> |
5354 | 5388 | <div class="text-right"> |
5355 | | - HAProxy 3.1-dev12-14 – Management Guide<br> |
| 5389 | + HAProxy 3.1-dev13 – Management Guide<br> |
5356 | 5390 | <small>, </small> |
5357 | 5391 | </div> |
5358 | 5392 | </div> |
|
0 commit comments