Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.Hive.Web/Hive-3.3/Status.aspx @ 9023

Last change on this file since 9023 was 9023, checked in by ascheibe, 12 years ago

#1994 added displaying of real cpu load and real available cores

File size: 6.3 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      Overall Available Cores:
18    <asp:Label ID="overallAvailableCoresLabel" runat="server" />
19      <br />
20      Available Cores (real):
21    <asp:Label ID="availableCoresLabel" runat="server" />
22      <br />
23    Used Cores / Calculating Jobs:
24    <asp:Label ID="usedCoresLabel" runat="server" />
25    <br />
26    Waiting Jobs:
27    <asp:Label ID="waitingJobsLabel" runat="server" />
28    <br />
29      Overall
30    Avg. CPU Utilization:
31    <asp:Label ID="overallCpuUtilizationLabel" runat="server" />
32      <br />
33      Real Avg. CPU Utilization:
34    <asp:Label ID="cpuUtilizationLabel" runat="server" />
35      &nbsp;<br />
36    Slaves (CPU Utilization):
37    <asp:Label ID="slavesLabel" runat="server" />
38      <br />
39      <br />
40      Number of Calculating Tasks by User:<asp:Table ID="calculatingTasksByUserTable" runat="server" GridLines="Both">
41          <asp:TableRow runat="server" BackColor="#CCCCCC">
42              <asp:TableCell runat="server" Font-Bold="False">User</asp:TableCell>
43              <asp:TableCell runat="server" Font-Bold="False">Nr. of Tasks</asp:TableCell>
44          </asp:TableRow>
45      </asp:Table>
46      <br />
47      Number of Waiting Tasks by User:<asp:Table ID="waitingTasksByUserTable" runat="server" GridLines="Both">
48          <asp:TableRow runat="server" BackColor="#CCCCCC">
49              <asp:TableCell runat="server" Font-Bold="False">User</asp:TableCell>
50              <asp:TableCell runat="server" Font-Bold="False">Nr. of Tasks</asp:TableCell>
51          </asp:TableRow>
52      </asp:Table>
53      <br />
54    <br />
55    Days:
56    <asp:DropDownList ID="daysDropDownList" runat="server" AutoPostBack="True">
57      <asp:ListItem Value="1"></asp:ListItem>
58      <asp:ListItem Value="2"></asp:ListItem>
59      <asp:ListItem Value="3"></asp:ListItem>
60      <asp:ListItem Value="4"></asp:ListItem>
61      <asp:ListItem Value="5"></asp:ListItem>
62      <asp:ListItem Value="6"></asp:ListItem>
63      <asp:ListItem Value="7"></asp:ListItem>
64      <asp:ListItem Value="8"></asp:ListItem>
65      <asp:ListItem Value="9"></asp:ListItem>
66      <asp:ListItem Value="10"></asp:ListItem>
67      <asp:ListItem Value="11"></asp:ListItem>
68      <asp:ListItem Value="12"></asp:ListItem>
69      <asp:ListItem Value="13"></asp:ListItem>
70      <asp:ListItem Value="14"></asp:ListItem>
71      <asp:ListItem Value="All"></asp:ListItem>
72    </asp:DropDownList>
73    <br />
74    <br />
75    Avg. CPU Utilization History of all Slaves<br />
76    <asp:Chart ID="cpuUtilizationChart" runat="server" Height="270px" Width="1900px">
77      <Series>
78        <asp:Series BorderWidth="2" ChartType="Line" Color="0, 176, 80" Name="Series1" XValueType="DateTime"
79          YValueType="Double">
80        </asp:Series>
81      </Series>
82      <ChartAreas>
83        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
84          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
85          <AxisY>
86            <MajorGrid Enabled="False" />
87          </AxisY>
88          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
89            IntervalType="Hours" IsLabelAutoFit="False" >
90            <MajorGrid Enabled="False" />
91            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
92          </AxisX>
93        </asp:ChartArea>
94      </ChartAreas>
95    </asp:Chart>
96    <br />
97    Cores/Used Cores History<br />
98    <asp:Chart ID="coresChart" runat="server" Palette="None" Width="1900px" PaletteCustomColors="137, 165, 78; 185, 205, 150">
99      <Series>
100        <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
101        </asp:Series>
102        <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
103          YValueType="Double">
104        </asp:Series>
105      </Series>
106      <ChartAreas>
107        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
108          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
109          <AxisY>
110            <MajorGrid Enabled="False" />
111          </AxisY>
112          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
113            IntervalType="Hours" IsLabelAutoFit="False" >
114            <MajorGrid Enabled="False" />
115            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
116          </AxisX>
117        </asp:ChartArea>
118      </ChartAreas>
119    </asp:Chart>
120    <br />
121    Memory/Used Memory History (GB)<br />
122    <asp:Chart ID="memoryChart" runat="server" Palette="None" PaletteCustomColors="170, 70, 67; 209, 147, 146"
123      Width="1900px">
124      <Series>
125        <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
126        </asp:Series>
127        <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
128          YValueType="Double">
129        </asp:Series>
130      </Series>
131      <ChartAreas>
132        <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
133          BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
134          <AxisY>
135            <MajorGrid Enabled="False" />
136          </AxisY>
137          <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
138            IntervalType="Hours" IsLabelAutoFit="False" >
139            <MajorGrid Enabled="False" />
140            <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
141          </AxisX>
142        </asp:ChartArea>
143      </ChartAreas>
144    </asp:Chart>
145      <br />
146  </div>
147  </form>
148</body>
149</html>
Note: See TracBrowser for help on using the repository browser.