summaryrefslogtreecommitdiffstats
path: root/templates/systemstatus/systeminfo.html
blob: 6b7d090d840e8436077bf69f4d024858adc0c738 (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
<div class="slx-storechart">
	<b>CPU-Last</b>
	{{#cpuLoadOk}}
	<div id="circles-cpuload"></div>
	<div>Durchschnitt: {{cpuLoad}}%</div>
	<div>Nur OS: {{cpuSystem}}%</div>
	<div>Logische CPUs: {{cpuCount}}</div>
	{{/cpuLoadOk}}
	{{^cpuLoadOk}}
	Konnte nicht ermittelt werden
	{{/cpuLoadOk}}
</div>
			
<div class="slx-storechart">
	<b>RAM-Nutzung</b>
	{{#memTotal}}
	<div id="circles-mem"></div>
	<div>Gesamt: {{memTotal}}</div>
	<div>Frei: {{memFree}}</div>
	{{/memTotal}}
	{{^memTotal}}
	Konnte nicht ermittelt werden
	{{/memTotal}}
</div>
		
<div class="slx-storechart">
	<b>swap-Nutzung</b>
	{{#memTotal}}
	<div id="circles-swap"></div>
	<div>Gesamt: {{swapTotal}}</div>
	<div>Belegt: {{swapUsed}}</div>
	{{/memTotal}}
	{{^memTotal}}
	Konnte nicht ermittelt werden
	{{/memTotal}}
</div>

<div class="clearfix"></div>

{{#swapWarning}}
<div>
	<b>Achtung!</b> Es wird swap-Speicher genutzt. Dies kann ein Hinweis darauf sein, dass dem Satelliten-Server zu wenig physikalischer Speicher zur Verfügung steht. Im Falle von
	Performance-Problemen oder Instabilität des Server sollten Sie erwägen, den Server mit mehr RAM auszustatten.
</div>
{{/swapWarning}}

<script type="text/javascript">
	{{#cpuLoadOk}}
	Circles.create({
	id:         'circles-cpuload',
			  radius:     60,
			  value:      {{{cpuLoad}}},
			  maxValue:   100,
			  width:      10,
			  text:       function(value){return value + '%'; },
			  colors:     ['#dbc', '#33f'],
			  duration:   400,
			  wrpClass:   'circles-wrp',
			  textClass:  'circles-text'
			  });
	{{/cpuLoadOk}}
	{{#memTotal}}
	Circles.create({
	id:         'circles-mem',
			  radius:     60,
			  value:      {{{memPercent}}},
			  maxValue:   100,
			  width:      10,
			  text:       function(value){return value + '%'; },
			  colors:     ['#dbc', '#33f'],
			  duration:   400,
			  wrpClass:   'circles-wrp',
			  textClass:  'circles-text'
			  });
	Circles.create({
	id:         'circles-swap',
			  radius:     60,
			  value:      {{{swapPercent}}},
			  maxValue:   100,
			  width:      10,
			  text:       function(value){return value + '%'; },
			  colors:     ['#dbc', '#f33'],
			  duration:   400,
			  wrpClass:   'circles-wrp',
			  textClass:  'circles-text'
			  });
	{{/memTotal}}
</script>