Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Hive.WebRole/Status.aspx @ 8244

Last change on this file since 8244 was 8244, checked in by spimming, 12 years ago

#1888:

  • added signing certificates
  • added status pages
File size: 5.3 KB
Line 
1<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Status.aspx.cs" Inherits="HeuristicLab.Services.Hive.WebRole.Status" %>
2
3<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
4  Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
5
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
8<html xmlns="http://www.w3.org/1999/xhtml">
9<head id="Head1" runat="server">
10  <title>HeuristicLab Hive Status Monitor</title>
11  <link rel="icon" type="image/ico" href="HeuristicLab.ico" />
12</head>
13<body>
14  <center>
15    <h1>HeuristicLab Hive Status Monitor</h1>
16  </center>
17  <form id="form1" runat="server">
18  <div>
19    Available Cores:
20    <asp:Label ID="availableCoresLabel" runat="server" />
21    <br />
22    Used Cores / Calculating Jobs:
23    <asp:Label ID="usedCoresLabel" runat="server" />
24    <br />
25    Waiting Jobs:
26    <asp:Label ID="waitingJobsLabel" runat="server" />
27    <br />
28    Avg. CPU Utilization:
29    <asp:Label ID="cpuUtilizationLabel" runat="server" />
30      <br />
31    Slaves (CPU Utilization):
32    <asp:Label ID="slavesLabel" runat="server" />
33      <br />
34    <br />
35    Days:
36    <asp:DropDownList ID="daysDropDownList" runat="server" AutoPostBack="True">
37      <asp:ListItem Value="1"></asp:ListItem>
38      <asp:ListItem Value="2"></asp:ListItem>
39      <asp:ListItem Value="3"></asp:ListItem>
40      <asp:ListItem Value="4"></asp:ListItem>
41      <asp:ListItem Value="5"></asp:ListItem>
42      <asp:ListItem Value="6"></asp:ListItem>
43      <asp:ListItem Value="7"></asp:ListItem>
44      <asp:ListItem Value="8"></asp:ListItem>
45      <asp:ListItem Value="9"></asp:ListItem>
46      <asp:ListItem Value="10"></asp:ListItem>
47      <asp:ListItem Value="11"></asp:ListItem>
48      <asp:ListItem Value="12"></asp:ListItem>
49      <asp:ListItem Value="13"></asp:ListItem>
50      <asp:ListItem Value="14"></asp:ListItem>
51      <asp:ListItem Value="All"></asp:ListItem>
52    </asp:DropDownList>
53    <br />
54    <br />
55    Avg. CPU Utilization History of all Slaves<br />
56    <asp:Chart ID="cpuUtilizationChart" runat="server" Height="270px" Width="1900px">
57      <Series>
58        <asp:Series BorderWidth="2" ChartType="Line" Color="0, 176, 80" Name="Series1" XValueType="DateTime"
59          YValueType="Double">
60        </asp:Series>
61      </Series>
62      <ChartAreas>
63        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
64          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
65          <AxisY>
66            <MajorGrid Enabled="False" />
67          </AxisY>
68          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
69            IntervalType="Hours" IsLabelAutoFit="False" >
70            <MajorGrid Enabled="False" />
71            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
72          </AxisX>
73        </asp:ChartArea>
74      </ChartAreas>
75    </asp:Chart>
76    <br />
77    Cores/Used Cores History<br />
78    <asp:Chart ID="coresChart" runat="server" Palette="None" Width="1900px" PaletteCustomColors="137, 165, 78; 185, 205, 150">
79      <Series>
80        <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
81        </asp:Series>
82        <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
83          YValueType="Double">
84        </asp:Series>
85      </Series>
86      <ChartAreas>
87        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
88          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
89          <AxisY>
90            <MajorGrid Enabled="False" />
91          </AxisY>
92          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
93            IntervalType="Hours" IsLabelAutoFit="False" >
94            <MajorGrid Enabled="False" />
95            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
96          </AxisX>
97        </asp:ChartArea>
98      </ChartAreas>
99    </asp:Chart>
100    <br />
101    Memory/Used Memory History (GB)<br />
102    <asp:Chart ID="memoryChart" runat="server" Palette="None" PaletteCustomColors="170, 70, 67; 209, 147, 146"
103      Width="1900px">
104      <Series>
105        <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
106        </asp:Series>
107        <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
108          YValueType="Double">
109        </asp:Series>
110      </Series>
111      <ChartAreas>
112        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
113          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
114          <AxisY>
115            <MajorGrid Enabled="False" />
116          </AxisY>
117          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
118            IntervalType="Hours" IsLabelAutoFit="False" >
119            <MajorGrid Enabled="False" />
120            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
121          </AxisX>
122        </asp:ChartArea>
123      </ChartAreas>
124    </asp:Chart>
125    <br />
126      <br />
127  </div>
128  </form>
129</body>
130</html>
Note: See TracBrowser for help on using the repository browser.