Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 9022 was 9022, checked in by ascheibe, 11 years ago

#1994 added a dao method which loads lightweight tasks instead of tasks. Therefore the task datas are not loaded which reduces memory consumption and improves performance when

  • downloading tasks
  • refresh automatically is checked in the Hive Job Manager
  • loading the Hive Status page.

The Hive Status page now shows which users are currently calculating how many tasks.

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