blob: 79024ad69a64c497ce1874cfb224c4fe39402da1 (
plain) (
blame)
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
110
111
112
113
114
115
116
|
{{#rebootTask}}
<div data-tm-id="{{rebootTask}}" data-tm-log="messages">Reboot...</div>
{{/rebootTask}}
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_space}}
</div>
<div class="panel-body" id="diskstat">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_services}}
</div>
<div class="panel-body" id="services">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_addressConfiguration}}
</div>
<div class="panel-body" id="addresses">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_system}}
</div>
<div class="panel-body" id="systeminfo">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_maintenance}}
</div>
<div class="panel-body">
<form class="form-adduser" action="?do=SystemStatus" method="post">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="reboot">
<div>Server Reboot</div>
<label><input type="checkbox" name="confirm" value="yep"> {{lang_iAmSure}}</label>
<button class="btn btn-warning btn-xs" type="submit">Reboot</button>
</form>
</div>
</div>
</div>
</div>
<h3>{{lang_advanced}}</h3>
<div class="panel panel-default">
<div class="panel-heading">
{{lang_dmsdLog}}
</div>
<div class="panel-body" id="dmsd-log">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
netstat -tulpn
</div>
<div class="panel-body" id="netstat">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
ps auxf
</div>
<div class="panel-body" id="pslist">
<span class="glyphicon glyphicon-refresh slx-rotation"></span>
</div>
</div>
<script type="text/javascript">
loadContent('#diskstat', '?do=SystemStatus&action=DiskStat');
loadContent('#addresses', '?do=SystemStatus&action=AddressList');
loadContent('#systeminfo', '?do=SystemStatus&action=SystemInfo');
loadContent('#services', '?do=SystemStatus&action=Services');
setTimeout(function() {
loadContent('#dmsd-log', '?do=SystemStatus&action=DmsdLog');
loadContent('#netstat', '?do=SystemStatus&action=Netstat');
loadContent('#pslist', '?do=SystemStatus&action=PsList');
}, 500);
</script>
|