1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
<html>
<head>
<meta charset="utf-8">
<title>Psensor Server Monitoring</title>
<link type="text/css" href="style.css" rel="stylesheet" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="psensor.js"></script>
<script>
$(document).ready(function() {
update_menu();
update_summary_sensors();
update_summary_sysinfo();
$(document).ready(function() {
setInterval(function() {
update_summary_sensors();
update_summary_sysinfo();
}, 5000);
});
});
</script>
</head>
<body>
<div id="page">
<div id="menu">
<ul id="menu-list">
<li><a href="index.html">Summary</a></li>
</ul>
</div>
<div id="main">
<h1>System Monitoring</h1>
<p><em>Uptime</em>: <span id='uptime'></span></p>
<h2><a name="cpu">CPU</a></h2>
<table id='cpu'>
<thead>
<tr>
<th>Current usage</th>
<th>Load 1mn</th>
<th>Load 5mn</th>
<th>Load 15mn</th>
</tr>
</thead>
<tbody></tbody>
</table>
<h2><a name="memory">Memory</a></h2>
<table>
<thead>
<tr>
<th></th>
<th>Total</th>
<th>Used</th>
<th>Free</th>
<th>Shared</th>
<th>Buffer</th>
</tr>
</thead>
<tbody>
<tr id='memory'></tr>
<tr id='swap'></tr>
</tbody>
</table>
<h2><a name="network">Network</a></h2>
<table id='net'>
<thead>
<tr>
<th>Interface</th>
<th>Bytes In</th>
<th>Bytes Out</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h2><a name="sensors">Sensors</a></h2>
<table id='sensors'>
<thead>
<tr>
<th>Name</th>
<th>Value</th>
<th>Min</th>
<th>Max</th>
<th>Type</th>
</tr>
</thead>
<tbody id ="sensors"></tbody>
</table>
</div>
<div id="footer">
Generated by <a href='http://wpitchoune.net/psensor'>psensor-server</a>
</div>
</div>
</body>
</html>
|