Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveHiveEngine/HeuristicLab.Services.Hive.Web/Hive-3.3/Status.aspx @ 10690

Last change on this file since 10690 was 7047, checked in by ascheibe, 13 years ago

#1672

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