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></title>
|
---|
9 | </head>
|
---|
10 | <body>
|
---|
11 | <form id="form1" runat="server">
|
---|
12 | <div>
|
---|
13 | Available Cores:
|
---|
14 | <asp:Label ID="availableCoresLabel" runat="server" />
|
---|
15 | <br />
|
---|
16 | Used Cores / Calculating Jobs:
|
---|
17 | <asp:Label ID="usedCoresLabel" runat="server" />
|
---|
18 | <br />
|
---|
19 | Waiting Jobs:
|
---|
20 | <asp:Label ID="waitingJobsLabel" runat="server" />
|
---|
21 | <br />
|
---|
22 | Slaves (CPU Utilization):
|
---|
23 | <asp:Label ID="slavesLabel" runat="server" />
|
---|
24 | <br />
|
---|
25 | Avg. CPU Utilization:
|
---|
26 | <asp:Label ID="cpuUtilizationLabel" runat="server" />
|
---|
27 | <br />
|
---|
28 | Total ExecutionTime on Hive:
|
---|
29 | <asp:Label ID="totalExecutionTimeLabel" runat="server" />
|
---|
30 | <br />
|
---|
31 | <br />
|
---|
32 | Days:
|
---|
33 | <asp:DropDownList ID="daysDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="daysDropDownList_SelectedIndexChanged">
|
---|
34 | <asp:ListItem Value="1"></asp:ListItem>
|
---|
35 | <asp:ListItem Value="2"></asp:ListItem>
|
---|
36 | <asp:ListItem Value="3"></asp:ListItem>
|
---|
37 | <asp:ListItem Value="4"></asp:ListItem>
|
---|
38 | <asp:ListItem Value="5"></asp:ListItem>
|
---|
39 | <asp:ListItem Value="6"></asp:ListItem>
|
---|
40 | <asp:ListItem Value="7"></asp:ListItem>
|
---|
41 | <asp:ListItem Value="8"></asp:ListItem>
|
---|
42 | <asp:ListItem Value="9"></asp:ListItem>
|
---|
43 | <asp:ListItem Value="10"></asp:ListItem>
|
---|
44 | <asp:ListItem Value="11"></asp:ListItem>
|
---|
45 | <asp:ListItem Value="12"></asp:ListItem>
|
---|
46 | <asp:ListItem Value="13"></asp:ListItem>
|
---|
47 | <asp:ListItem Value="14"></asp:ListItem>
|
---|
48 | <asp:ListItem Value="All"></asp:ListItem>
|
---|
49 | </asp:DropDownList>
|
---|
50 | <br />
|
---|
51 | <br />
|
---|
52 | Avg. CPU Utilization History of all Slaves<br />
|
---|
53 | <asp:Chart ID="cpuUtilizationChart" runat="server" Height="270px" Width="1900px">
|
---|
54 | <Series>
|
---|
55 | <asp:Series BorderWidth="2" ChartType="Line" Color="0, 176, 80" Name="Series1" XValueType="DateTime"
|
---|
56 | YValueType="Double">
|
---|
57 | </asp:Series>
|
---|
58 | </Series>
|
---|
59 | <ChartAreas>
|
---|
60 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
61 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
62 | <AxisY>
|
---|
63 | <MajorGrid Enabled="False" />
|
---|
64 | </AxisY>
|
---|
65 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
66 | IntervalType="Hours" IsLabelAutoFit="False" >
|
---|
67 | <MajorGrid Enabled="False" />
|
---|
68 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
69 | </AxisX>
|
---|
70 | </asp:ChartArea>
|
---|
71 | </ChartAreas>
|
---|
72 | </asp:Chart>
|
---|
73 | <br />
|
---|
74 | Cores/Used Cores History<br />
|
---|
75 | <asp:Chart ID="coresChart" runat="server" Palette="None" Width="1900px" PaletteCustomColors="137, 165, 78; 185, 205, 150">
|
---|
76 | <Series>
|
---|
77 | <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
|
---|
78 | </asp:Series>
|
---|
79 | <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
|
---|
80 | YValueType="Double">
|
---|
81 | </asp:Series>
|
---|
82 | </Series>
|
---|
83 | <ChartAreas>
|
---|
84 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
85 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
86 | <AxisY>
|
---|
87 | <MajorGrid Enabled="False" />
|
---|
88 | </AxisY>
|
---|
89 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
90 | IntervalType="Hours" IsLabelAutoFit="False" >
|
---|
91 | <MajorGrid Enabled="False" />
|
---|
92 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
93 | </AxisX>
|
---|
94 | </asp:ChartArea>
|
---|
95 | </ChartAreas>
|
---|
96 | </asp:Chart>
|
---|
97 | <br />
|
---|
98 | Memory/Used Memory History (GB)<br />
|
---|
99 | <asp:Chart ID="memoryChart" runat="server" Palette="None" PaletteCustomColors="170, 70, 67; 209, 147, 146"
|
---|
100 | Width="1900px">
|
---|
101 | <Series>
|
---|
102 | <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
|
---|
103 | </asp:Series>
|
---|
104 | <asp:Series ChartArea="ChartArea1" ChartType="Area" Name="FreeCores" XValueType="DateTime"
|
---|
105 | YValueType="Double">
|
---|
106 | </asp:Series>
|
---|
107 | </Series>
|
---|
108 | <ChartAreas>
|
---|
109 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
110 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
111 | <AxisY>
|
---|
112 | <MajorGrid Enabled="False" />
|
---|
113 | </AxisY>
|
---|
114 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
115 | IntervalType="Hours" IsLabelAutoFit="False" >
|
---|
116 | <MajorGrid Enabled="False" />
|
---|
117 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
118 | </AxisX>
|
---|
119 | </asp:ChartArea>
|
---|
120 | </ChartAreas>
|
---|
121 | </asp:Chart>
|
---|
122 | <br />
|
---|
123 | Speedup (ComputedMinutes/Minute)<br />
|
---|
124 | <asp:Chart ID="speedupChartMinutes" runat="server" Palette="None" Width="1900px"
|
---|
125 | PaletteCustomColors="79, 129, 189">
|
---|
126 | <Series>
|
---|
127 | <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
|
---|
128 | </asp:Series>
|
---|
129 | </Series>
|
---|
130 | <ChartAreas>
|
---|
131 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
132 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
133 | <AxisY Minimum="-5">
|
---|
134 | <MajorGrid Enabled="False" />
|
---|
135 | </AxisY>
|
---|
136 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
137 | IntervalType="Hours" IsLabelAutoFit="False" >
|
---|
138 | <MajorGrid Enabled="False" />
|
---|
139 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
140 | </AxisX>
|
---|
141 | </asp:ChartArea>
|
---|
142 | </ChartAreas>
|
---|
143 | </asp:Chart>
|
---|
144 | <br />
|
---|
145 | Speedup (ComputedHours/Hour)<br />
|
---|
146 | <br />
|
---|
147 | <asp:Chart ID="speedupChartHours" runat="server" Palette="None" Width="1900px" PaletteCustomColors="79, 129, 189">
|
---|
148 | <Series>
|
---|
149 | <asp:Series ChartType="Area" Name="Cores" XValueType="DateTime" YValueType="Double">
|
---|
150 | </asp:Series>
|
---|
151 | </Series>
|
---|
152 | <ChartAreas>
|
---|
153 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
154 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
155 | <AxisY>
|
---|
156 | <MajorGrid Enabled="False" />
|
---|
157 | </AxisY>
|
---|
158 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
159 | IntervalType="Hours" IsLabelAutoFit="False">
|
---|
160 | <MajorGrid Enabled="False" />
|
---|
161 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
162 | </AxisX>
|
---|
163 | </asp:ChartArea>
|
---|
164 | </ChartAreas>
|
---|
165 | </asp:Chart>
|
---|
166 | <br />
|
---|
167 | </div>
|
---|
168 | </form>
|
---|
169 | </body>
|
---|
170 | </html>
|
---|