-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
64 lines (58 loc) · 2.02 KB
/
index.html
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
<html>
<link rel='stylesheet' href='style.css' type='text/css'>
<head>
<title>Monitor Tools</title>
<script src="js/ajaxsbmt.js" type="text/javascript"></script>
<script language="javascript" src="dinamic.js" type=text/javascript></script>
</head>
<body>
<!-- onload="setInterval(mostraOra, 1000);"> -->
<div id='footer'><font color=red>Monitor Tool</font> by <font color=yellow><a href='http://esteban.homelinux.org'>Stefano Viola (EstebanSannin)</a></font></div>
<div id='header'><h2>Monitor Tool</h2>
<table border="0"><tr>
<td class="headitem"><a href="index.html">home</a></td>
<td class="headitem"><a href="versionNote.html">versionNote</a></td>
<td class="headitem"><a href="modules.html">modules</a></td>
<td class="headitem"><a href="donate.html">donate</a></td></tr></table>
</div>
<div id='content'>
<br>
<script>
var reload;
function dinam(cgi, label){
reload=setInterval(cgiRequest, 1500,cgi, label);
}
function stop(){
clearInterval(reload);
}
</script>
<br>
<table border="0"><tr>
<td><input type="button" name="memory" value="netstat" OnClick="javascript:stop(); dinam('cgi-bin/netstat.cgi', 'textarea');"></td>
<td><input type="button" name="memory" value="dmesg" OnClick="javascript:stop(); dinam('cgi-bin/dmesg.cgi', 'textarea');"</td>
<td><input type="button" name="memory" value="diskUsage" OnClick="javascript:stop(); cgiRequest('cgi-bin/diskUsage.cgi', 'textarea')"></td>
<td><input type="button" name="memory" value="free" OnClick="javascript:stop(); dinam('cgi-bin/ram.cgi', 'textarea')"></td>
<td></td>
</tr>
<tr>
<td><br><input type="button" name="memory" value="reset" OnClick="location.reload(true);"></td>
</tr></table>
<pre>
SysInfo:
</pre>
<span id="system"></span>
<span id="ram"></span>
<br><pre>
<span id="test"></span>
</pre>
<script>
setInterval(cgiRequest, 1000, 'cgi-bin/sysinfo.cgi', 'system');
</script>
<h3>Output:</h3>
<form action="" method="" name="form">
<textarea id="textarea" name="textarea" rows="20" cols="100" style='color: white; font-size: 87%' readonly>
</textarea>
</form>
</div>
</body>
</html>