Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 9617 was 9617, checked in by pfleck, 11 years ago

#2063:
Started integrating Hive statistics into statistics web project.
Added jqPlot library for charting.

File size: 1.3 KB
RevLine 
[9617]1@model HeuristicLab.Services.Hive.Statistics.Models.OverallStatus
2
3@{
4    ViewBag.Title = "Status Monitor";
[9589]5}
6
[9617]7<h1>Current Status</h1>
[9589]8
[9617]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>System-Wide Waiting Tasks</td>
21            <td>@Model.CurrentlyJobsWaiting</td>
22        </tr>
23        <tr>
24            <td>Used Cores</td>
25            <td>@Model.CurrentlyUsedCores</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>
39    <div id="chartdiv" style="height:400px;width:300px;"></div>
40</section>
41
42@section Styles {
43    @Styles.Render("~/Scripts/jqPlot/jquery.jqplot")
44}
45
46@section Scripts {
47    @Scripts.Render("~/Scripts/jqPlot/jquery.jqplot")
48    <script>
49        $.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]]);
50    </script>
51}
Note: See TracBrowser for help on using the repository browser.