<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Membase Console</title>
<link rel="stylesheet" type="text/css" href="/css/screen.css">
<link rel="stylesheet" type="text/css" href="/css/tabs.css">
<link rel="stylesheet" type="text/css" href="/css/print.css">
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.membase.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<!--[if IE]><script language="javascript" type="text/javascript" src="/js/excanvas.min.js"></script><![endif]-->
<script src="/js/jquery.js"></script>
<script src="/js/jquery-ui-1.8.10.custom.js"></script>
<script src="/js/jquery.flot.js"></script>
<script src="/js/jquery.ba-bbq.js"></script>
<!--[if lt IE 9]><script src="/js/json2.js"></script><![endif]-->
<script src="/js/underscore.js"></script>
<script src="/js/tools.tabs.js"></script>
<script src="/js/jquery.cookie.js"></script>
<script src="/js/misc.js"></script>
<script src="/js/base64.js"></script>
<script src="/js/mkclass.js"></script>
<script src="/js/callbacks.js"></script>
<script src="/js/cells.js"></script>
<script src="/js/cells-io.js"></script>
<script src="/js/cells-map.js"></script>
<script src="/js/hash-fragment-cells.js"></script>
<script src="/js/right-form-observer.js"></script>
<script src="/js/app-ui-misc.js"></script>
<script src="/js/app-misc.js"></script>
<script src="/js/multi-drawers-widget.js"></script>
<script src="/js/core-data.js"></script>
<script src="/js/analytics.js"></script>
<script src="/js/manage-servers.js"></script>
<script src="/js/monitor-servers.js"></script>
<script src="/js/settings.js"></script>
<script src="/js/manage-buckets.js"></script>
<script src="/js/monitor-buckets.js"></script>
<script src="/js/overview.js"></script>
<script src="/js/all-images.js"></script>
<script src="/js/updates-notifications.js"></script>
<script src="/js/app.js"></script>
</head>
<body class="nojs">
  <div class="io-error-notice-wrapper"><span class="io-error-notice" style="display:none;"></span></div>
  <div id="container">
    <div class="page-header">
      <div class="cnt_holder main_holder">
        <div class="topper_nav">
          <a href="javascript:showAbout();">About</a>
          <i class="sign-out-link"><b>&bull;</b> <a href="javascript:ThePage.signOut();">Sign Out</a></i>
        </div>
        <a href="/index.html"><span>&nbsp;</span></a>
      </div>
    </div> <!-- header -->

    <div id="nojs_alert">Your browser does not support javascript or it is currently disabled. This application requires browsers which meet a minimum standards level with javascript enabled.  See the documentation for details.</div>
    <script type="text/javascript">document.getElementById('nojs_alert').style.display = 'none';</script>
    <div id="mainContainer" class="main_holder">
<table width="100%">
  <tr>
    <td class="leftNav">
      <h1>MONITOR</h1>
      <ul>
        <!--<li class="line"></li>-->
        <li class="line"><a id="switch_overview" href="#visitSec=overview">Cluster Overview</a></li>
        <li class="line"><a id="switch_monitor_buckets" href="#visitSec=monitor_buckets">Data Buckets</a></li>
        <li class="line"><a id="switch_monitor_servers" href="#visitSec=monitor_servers">Server Nodes</a></li>
        <li class="line"><a id="switch_log" href="#visitSec=log">Log</a></li>
      </ul>

      <h1>MANAGE</h1>
      <ul>
        <li class="line"><a id="switch_buckets" href="#visitSec=buckets">Data Buckets</a></li>
        <li class="line"><a id="switch_servers" href="#visitSec=servers">Server Nodes</a></li>
        <li class="line" id="leftNav_updates_container"></li>
        <script id="leftNav_updates_template" type="text/html">
          <a href="#visitSec=notifications">
            Update Notifications
            {% if (enabled && newVersion!==false && newVersion!==undefined) { %}
            <span class="alert_notify"><strong>!</strong></span>
            {% } %}
          </a>
        </script>
      </ul>

      <h1>SUPPORT</h1>
      <ul>
        <li class="line"><a id="switch_support_docs" href="http://techzone.couchbase.com/wiki/display/membase/Getting+Started" target="MCWebHelp">Documentation</a></li>
        <li class="line"><a id="switch_support_forums" href="http://techzone.couchbase.com/forums/membase/membase-server-16x" target="nsforums">Support Forums</a></li>
      </ul>
    </td>
    <td id="mainPanel">

    <div id="monitor_servers" style="display:none">
      <!-- Shadow box -->
      <span class="staleness-notice">Difficulties communicating with the cluster; displaying cached information!</span>
      <div class="monitor-servers-subsection"><h1>Monitor Servers</h1>
        <div class="shadow_box"><div class="top"><div><div>&nbsp;</div></div></div><div class="cnt"><div class="pad"><div class="content">
            <div class="panes">
              <div class="tab_holder">
                <div id="monitor_servers_container"></div>
                <script id="monitor_servers_template" type="text/html">
              <table class="lined_tab">
                <col width="">
                <tr>
                  <th>Server Node Name</th>
                  <th>Swap Usage</th>
                  <th>CPU Usage</th>
                </tr>
                <!-- {% $.each(rows, function () { %} -->
                <tr>
                    <td>
                      <a class="node_name disable-if-stale" href="#sec=analytics&statsHostname={%= h(this.hostname) %}">
                        {%= V.stripPort(this.hostname, rows) %}
                      </a>
                    </td>
                    <td>
                      <div class="usage_smallest_info">
                        <div class="usage_smallest">
                          <div class="side_shadow">
                            <div class="unused">
                              <div class="used" style="width:1%;"></div>
                            </div>
                              </div>
                        </div>{%= V.setPercentBar(this.swap_used / this.swap_total) %}
                        {%= h(truncateTo3Digits(Math.floor(((this.swap_used / this.swap_total) || 0) * 100) / 100)) %}%
                      </div>
                    </td>
                    <td>
                      <div class="usage_smallest_info">
                        <div class="usage_smallest">
                          <div class="side_shadow">
                            <div class="unused">
                              <div class="used" style="width:1%;"></div>
                            </div>
                          </div>
                        </div>{%= V.setPercentBar(this.cpu_usage)  %}
                        {%= h(truncateTo3Digits(Math.floor(this.cpu_usage * 100) / 100)) %}%<commit_msg>Add ram usage to monitor servers screen<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Membase Console</title>
<link rel="stylesheet" type="text/css" href="/css/screen.css">
<link rel="stylesheet" type="text/css" href="/css/tabs.css">
<link rel="stylesheet" type="text/css" href="/css/print.css">
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.membase.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<!--[if IE]><script language="javascript" type="text/javascript" src="/js/excanvas.min.js"></script><![endif]-->
<script src="/js/jquery.js"></script>
<script src="/js/jquery-ui-1.8.10.custom.js"></script>
<script src="/js/jquery.flot.js"></script>
<script src="/js/jquery.ba-bbq.js"></script>
<!--[if lt IE 9]><script src="/js/json2.js"></script><![endif]-->
<script src="/js/underscore.js"></script>
<script src="/js/tools.tabs.js"></script>
<script src="/js/jquery.cookie.js"></script>
<script src="/js/misc.js"></script>
<script src="/js/base64.js"></script>
<script src="/js/mkclass.js"></script>
<script src="/js/callbacks.js"></script>
<script src="/js/cells.js"></script>
<script src="/js/cells-io.js"></script>
<script src="/js/cells-map.js"></script>
<script src="/js/hash-fragment-cells.js"></script>
<script src="/js/right-form-observer.js"></script>
<script src="/js/app-ui-misc.js"></script>
<script src="/js/app-misc.js"></script>
<script src="/js/multi-drawers-widget.js"></script>
<script src="/js/core-data.js"></script>
<script src="/js/analytics.js"></script>
<script src="/js/manage-servers.js"></script>
<script src="/js/monitor-servers.js"></script>
<script src="/js/settings.js"></script>
<script src="/js/manage-buckets.js"></script>
<script src="/js/monitor-buckets.js"></script>
<script src="/js/overview.js"></script>
<script src="/js/all-images.js"></script>
<script src="/js/updates-notifications.js"></script>
<script src="/js/app.js"></script>
</head>
<body class="nojs">
  <div class="io-error-notice-wrapper"><span class="io-error-notice" style="display:none;"></span></div>
  <div id="container">
    <div class="page-header">
      <div class="cnt_holder main_holder">
        <div class="topper_nav">
          <a href="javascript:showAbout();">About</a>
          <i class="sign-out-link"><b>&bull;</b> <a href="javascript:ThePage.signOut();">Sign Out</a></i>
        </div>
        <a href="/index.html"><span>&nbsp;</span></a>
      </div>
    </div> <!-- header -->

    <div id="nojs_alert">Your browser does not support javascript or it is currently disabled. This application requires browsers which meet a minimum standards level with javascript enabled.  See the documentation for details.</div>
    <script type="text/javascript">document.getElementById('nojs_alert').style.display = 'none';</script>
    <div id="mainContainer" class="main_holder">
<table width="100%">
  <tr>
    <td class="leftNav">
      <h1>MONITOR</h1>
      <ul>
        <!--<li class="line"></li>-->
        <li class="line"><a id="switch_overview" href="#visitSec=overview">Cluster Overview</a></li>
        <li class="line"><a id="switch_monitor_buckets" href="#visitSec=monitor_buckets">Data Buckets</a></li>
        <li class="line"><a id="switch_monitor_servers" href="#visitSec=monitor_servers">Server Nodes</a></li>
        <li class="line"><a id="switch_log" href="#visitSec=log">Log</a></li>
      </ul>

      <h1>MANAGE</h1>
      <ul>
        <li class="line"><a id="switch_buckets" href="#visitSec=buckets">Data Buckets</a></li>
        <li class="line"><a id="switch_servers" href="#visitSec=servers">Server Nodes</a></li>
        <li class="line" id="leftNav_updates_container"></li>
        <script id="leftNav_updates_template" type="text/html">
          <a href="#visitSec=notifications">
            Update Notifications
            {% if (enabled && newVersion!==false && newVersion!==undefined) { %}
            <span class="alert_notify"><strong>!</strong></span>
            {% } %}
          </a>
        </script>
      </ul>

      <h1>SUPPORT</h1>
      <ul>
        <li class="line"><a id="switch_support_docs" href="http://techzone.couchbase.com/wiki/display/membase/Getting+Started" target="MCWebHelp">Documentation</a></li>
        <li class="line"><a id="switch_support_forums" href="http://techzone.couchbase.com/forums/membase/membase-server-16x" target="nsforums">Support Forums</a></li>
      </ul>
    </td>
    <td id="mainPanel">

    <div id="monitor_servers" style="display:none">
      <!-- Shadow box -->
      <span class="staleness-notice">Difficulties communicating with the cluster; displaying cached information!</span>
      <div class="monitor-servers-subsection"><h1>Monitor Servers</h1>
        <div class="shadow_box"><div class="top"><div><div>&nbsp;</div></div></div><div class="cnt"><div class="pad"><div class="content">
            <div class="panes">
              <div class="tab_holder">
                <div id="monitor_servers_container"></div>
                <script id="monitor_servers_template" type="text/html">
              <table class="lined_tab">
                <col width="">
                <tr>
                  <th>Server Node Name</th>
                  <th>Swap Usage</th>
                  <th>RAM Usage</th>
                  <th>CPU Usage</th>
                </tr>
                <!-- {% $.each(rows, function () { %} -->
                <tr>
                    <td>
                      <a class="node_name disable-if-stale" href="#sec=analytics&statsHostname={%= h(this.hostname) %}">
                        {%= V.stripPort(this.hostname, rows) %}
                      </a>
                    </td>
                    <td>
                      <div class="usage_smallest_info">
                        <div class="usage_smallest">
                          <div class="side_shadow">
                            <div class="unused">
                              <div class="used" style="width:1%;"></div>
                            </div>
                              </div>
                        </div>{%= V.setPercentBar(this.swap_used / this.swap_total) %}
                        {%= h(truncateTo3Digits(Math.floor(((this.swap_used / this.swap_total) || 0) * 100) / 100)) %}%
                      </div>
                    </td>

                    <td>
                      <div class="usage_smallest_info">
                        <div class="usage_smallest">
                          <div class="side_shadow">
                            <div class="unused">
                              <div class="used" style="width:1%;"></div>
                            </div>
                              </div>
                        </div>
                        {%= V.setPercentBar((this.memoryTotal - this.memoryFree) / this.memoryTotal * 100) %}
                        {%= h(truncateTo3Digits((this.memoryTotal - this.memoryFree) / this.memoryTotal * 100)) %}%
                      </div>
                    </td>

                    <td>
                      <div class="usage_smallest_info">
                        <div class="usage_smallest">
                          <div class="side_shadow">
                            <div class="unused">
                              <div class="used" style="width:1%;"></div>
                            </div>
                          </div>
                        </div>{%= V.setPercentBar(this.cpu_usage)  %}
                        {%= h(truncateTo3Digits(Math.floor(this.cpu_usage * 100) / 100)) %}%
{'fraction_non_alphanumeric': 0.19625848009319538, 'fraction_numerical': 0.006852600561913246, 'mean_word_length': 2.39869585468095, 'pattern_counts': {'":': 0, '<': 481, '<?xml version=': 0, '>': 481, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5287837', 'n_tokens_mistral': 4629, 'n_tokens_neox': 4415, 'n_words': 729}