root / hci / trunk / eneraptor-web-app / grails-app / views / sysLog / main.gsp
History | View | Annotate | Download (1.41 KB)
1 | 3 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Log</title> |
||
5 | <meta name="layout" content="main" /> |
||
6 | </head> |
||
7 | |||
8 | <body> |
||
9 | 6 | alexbesir | |
10 | <erptr:box title="Log"> |
||
11 | 42 | alexbesir | <p>Log holds any information logged by input and output devices.</p> |
12 | <p>You can <g:link action="browse">browse</g:link> log entries manually, but be aware, that large intervals may take much time to process.</p> |
||
13 | <p>Eneraptor's storage space is limited, so you should <g:link action="clear">clear</g:link> the log entries when running out of space. To save old log entries you may use the <g:link action="export">export</g:link> function.</p> |
||
14 | <p>Log entries'' numeric data may be <g:link action="graph">viewed graphically</g:link> directly. If you want better and quicker results, you should use tools in the <g:link controller="statistics" action="main">Statistics</g:link> section instead.</p> |
||
15 | 6 | alexbesir | </erptr:box> |
16 | |||
17 | 16 | alexbesir | <!-- DISK USAGE - ONLY IF ENERAPOTR HCI IS SUPERUSER |
18 | 6 | alexbesir | <erptr:box title="Disk usage"> |
19 | 11 | alexbesir | <div style="float:left;"> |
20 | <div style="width: 100px;border:1px solid grey;"> |
||
21 | <div style="width:${percent}px;background:grey;"> |
||
22 | |
||
23 | </div> |
||
24 | </div> |
||
25 | </div> |
||
26 | <span> ${percent}% | free space ${(int)freeSpace} MB of total ${(int)totalSpace} MB </span> |
||
27 | <g:if test="${percent >= 95}"> |
||
28 | <i style="color:red;"> Warning: disk is almost full. You should erase some old log entries.</i> |
||
29 | </g:if> |
||
30 | 6 | alexbesir | </erptr:box> |
31 | 16 | alexbesir | --> |
32 | 6 | alexbesir | |
33 | 3 | alexbesir | </body> |
34 | |||
35 | </html> |