source: branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views/Home/Index.cshtml @ 9628

Last change on this file since 9628 was 9628, checked in by pfleck, 6 years ago

#2063:
Added zooming in charts.
Used memory is displayed in GB.

File size: 1.8 KB
Line 
1@model HeuristicLab.Services.Hive.Statistics.Models.OverallStatus
2
3@{
4    ViewBag.Title = "Status Monitor";
5}
6
7<h1>Current Status</h1>
8
9<section>
10    <table>
11        <tr>
12            <td>Overall Available Cores</td>
13            <td>@Model.OverallCurrentlyAvailableCores</td>
14        </tr>
15        <tr>
16            <td>Availabe Cores (real)</td>
17            <td>@Model.CurrentlyAvailableCores</td>
18        </tr>
19        <tr>
20            <td>Used Cores</td>
21            <td>@Model.CurrentlyUsedCores</td>
22        </tr>
23        <tr>
24            <td>System-Wide Waiting Tasks</td>
25            <td>@Model.CurrentlyJobsWaiting</td>
26        </tr>
27        <tr>
28            <td>Overall Avg. CPU Utilization</td>
29            <td>@Model.OverallCpuUtilization</td>
30        </tr>
31        <tr>
32            <td>Available Avg. CPU Utilization</td>
33            <td>@Model.AvailableCpuUtilization</td>
34        </tr>
35    </table>
36</section>
37
38<section class="charts">
39    <div id="AverageCpuUtilization"></div>
40    <div id="UsedCores"></div>
41    <div id="UsedMemory"></div>
42</section>
43
44@section Styles {
45    @Styles.Render("~/Styles/jqPlot/jquery.jqplot")
46}
47
48@section Scripts {
49    @Scripts.Render("~/Scripts/jqPlot/jquery.jqplot")
50    @ChartHelper.AjaxDataRenderer()
51
52    @ChartHelper.LineChartTime(
53        "AverageCpuUtilization",
54        Url.Action("AverageCpuUtilization", "ChartData"),
55        title: "Avg. CPU Utilization History of all Slaves",
56        axisYFormat: "%.2f%%",
57        minY: 0, maxY: 100)
58
59    @ChartHelper.LineChartTime(
60        "UsedCores",
61        Url.Action("UsedCores", "ChartData"),
62        title: "Cores / Used Cores",
63        minY: 0)
64
65    @ChartHelper.LineChartTime(
66        "UsedMemory",
67        Url.Action("UsedMemory", "ChartData"),
68        title: "Memory / Used Memory (GB)",
69        minY: 0)
70}
Note: See TracBrowser for help on using the repository browser.