<commit_before><div class='col-md-2'>
<div class='panel' ng-class="{'panel-danger': server.hasIssues, 'panel-success': (!server.hasIssues && !server.outOfDate), 'panel-warning' : server.outOfDate}">

<div class="panel-heading">
<h3 class="panel-title" style='overflow:auto;'>
<span tooltip-placement="right" tooltip="Worker out of date ({[{server.workerversion}]} < {{latestWorkerVersion}}), run install again to update" ng-show='server.outOfDate' class="glyphicon glyphicon-info-sign"></span>
{[{ server.name }]}
</div>
<div class='panel-body'>
<table>

<tr>
<td><strong>Load</strong></td>
<td>{[{ server.system.loadavg }]}</td>
</tr>

<tr>
<td><strong>CPU</strong></td>
<td>{[{ server.cpu.percentage.usage }]}%</td>
</tr>

<tr>
<td><strong>Conns <small>(port 80)</small>:</strong></td>
<td>{[{ server.conns[80] ? server.conns[80] : 0 }]}
<span ng-click="server.showAllConnections = (!server.showAllConnections)" class="glyphicon glyphicon-collapse-down"></span>

<div ng-show='server.showAllConnections'>
		  <div ng-repeat='(port, count) in server.conns' ng-if="port < 30000">
		  {[{ port }]} => {[{ count }]}
		  </div>
</div>
</tr>

<tr>
<td><strong>Mem Usage:</strong></td>
<td>{[{ ( (server.mem.memtotal - server.mem.memfree - server.mem.cached - server.mem.buffers) / server.mem.memtotal ) * 100 | number:1 }]}%</td>
</tr>

<tr>
<td><strong>/ Usage:</strong></td>
<td>{[{ ( (server.disk['/'].total - server.disk['/'].free) / server.disk['/'].total ) * 100 | number:1 }]}%</td>
</tr>

<tr><td><strong>Server Time:</strong></td><td>{[{ server.time }]}</td></tr>
</table>
<small>Updated (UTC):</small>{[{ server.msiofTime }]}
</div> <!-- panel-body -->
<div class="panel-footer">
		  <strong>Network:</strong> {[{ (server.network.total.rxkbps + server.network.total.txkbps)/1000 | number: 2}]}Mb/s
		  <span ng-click="server.showAllNetwork = (!server.showAllNetwork)" class="glyphicon glyphicon-collapse-down"></span>
		  <div ng-show='server.showAllNetwork'>
					 <div ng-repeat='(interface, net) in server.network' ng-if="interface != 'total' && (net.rxkbps > 0 || net.txkbps > 0)"><commit_msg>tidier expanding of connections<commit_after><div class='col-md-2'>
<div class='panel' ng-class="{'panel-danger': server.hasIssues, 'panel-success': (!server.hasIssues && !server.outOfDate), 'panel-warning' : server.outOfDate}">

<div class="panel-heading">
<h3 class="panel-title" style='overflow:auto;overflow-y: hidden;'>
<span tooltip-placement="right" tooltip="Worker out of date ({[{server.workerversion}]} < {{latestWorkerVersion}}), run install again to update" ng-show='server.outOfDate' class="glyphicon glyphicon-info-sign"></span>
{[{ server.name }]}
</div>
<div class='panel-body'>
<table>

<tr>
<td><strong>Load</strong></td>
<td>{[{ server.system.loadavg }]}</td>
</tr>

<tr>
<td>
<strong tooltip-placement="right" tooltip-html-unsafe="CPU Type: {[{server.system.cpu.type}]}<hr>CPU Cores: {[{server.system.cpu.cores}]}">
CPU
</strong>
</td>
<td>
{[{ server.cpu.percentage.usage }]}%
</td>
</tr>

<tr>
<td><strong>Conns <small>(port 80)</small>:</strong></td>
<td>{[{ server.conns[80] ? server.conns[80] : 0 }]}
<span ng-click="server.showAllConnections = (!server.showAllConnections)" class="glyphicon glyphicon-collapse-down"></span>

</td>
</tr>

		  <tr ng-show='server.showAllConnections' ng-repeat='(port, count) in server.conns' ng-if="port < 30000">
		  <td>:{[{ port }]}</td><td>{[{ count }]}</td>
		  </tr>

<tr>
<td>
<strong tooltip-placement="right" tooltip="Total Memory: {[{(server.mem.memtotal/1000)/1000 | number:0}]}GB">Mem usage:</strong>
<td>{[{ ( (server.mem.memtotal - server.mem.memfree - server.mem.cached - server.mem.buffers) / server.mem.memtotal ) * 100 | number:1 }]}%</td>
</tr>

<tr>
<td><strong tooltip-placement="right" tooltip="Size: {[{ ((server.disk['/'].total/1024)/1024)/1024 | number: 2}]}GB">/ Usage:</strong></td>
<td>{[{ ( (server.disk['/'].total - server.disk['/'].free) / server.disk['/'].total ) * 100 | number:1 }]}%</td>
</tr>

<tr><td><strong>Server Time:</strong></td><td>{[{ server.time }]}</td></tr>
</table>
<small>Updated (UTC):</small>{[{ server.msiofTime }]}
</div> <!-- panel-body -->
<div class="panel-footer">
		  <strong>Network:</strong> {[{ (server.network.total.rxkbps + server.network.total.txkbps)/1000 | number: 2}]}Mb/s

		  <span ng-click="server.showAllNetwork = (!server.showAllNetwork)" class="glyphicon glyphicon-collapse-down"></span>
		  <div ng-show='server.showAllNetwork'>
					 <div ng-repeat='(interface, net) in server.network' ng-if="interface != 'total' && (net.rxkbps > 0 || net.txkbps > 0)">
{'fraction_non_alphanumeric': 0.24923747276688454, 'fraction_numerical': 0.017429193899782137, 'mean_word_length': 5.297668038408779, 'pattern_counts': {'":': 0, '<': 162, '<?xml version=': 0, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1410681', 'n_tokens_mistral': 1806, 'n_tokens_neox': 1675, 'n_words': 296}