summaryrefslogblamecommitdiffstats
path: root/templates/systemstatus/systeminfo.html
blob: 78cdd43ecd586c293cd92e67631185eb6a6eccc8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                             

                            
                      



                                              

                      
                                     
                      



                            
                     


                                       

                     
                                     
                     



                            
                     


                                        

                     
                                     
                     





                            
                                                                                                                                                                                        
                                                                                                                        



                               
                      











                                                                            

                      











                                                                            











                                                                            
                     
        
<div>
	OS Uptime: {{uptime}}
</div>

<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 Servers 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>