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="Speedup" XValueType="DateTime" YValueType="Double">
|
---|
128 | </asp:Series>
|
---|
129 | <asp:Series BorderWidth="2" ChartArea="ChartArea1"
|
---|
130 | ChartType="Line" Color="185, 205, 150" Name="Cores">
|
---|
131 | </asp:Series>
|
---|
132 | </Series>
|
---|
133 | <ChartAreas>
|
---|
134 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
135 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
136 | <AxisY Minimum="-5">
|
---|
137 | <MajorGrid Enabled="False" />
|
---|
138 | </AxisY>
|
---|
139 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
140 | IntervalType="Hours" IsLabelAutoFit="False" >
|
---|
141 | <MajorGrid Enabled="False" />
|
---|
142 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
143 | </AxisX>
|
---|
144 | </asp:ChartArea>
|
---|
145 | </ChartAreas>
|
---|
146 | </asp:Chart>
|
---|
147 | <br />
|
---|
148 | Speedup (ComputedHours/Hour)<br />
|
---|
149 | <br />
|
---|
150 | <asp:Chart ID="speedupChartHours" runat="server" Palette="None" Width="1900px" PaletteCustomColors="79, 129, 189">
|
---|
151 | <Series>
|
---|
152 | <asp:Series ChartType="Area" Name="Speedup" XValueType="DateTime"
|
---|
153 | YValueType="Double">
|
---|
154 | </asp:Series>
|
---|
155 | <asp:Series BorderWidth="2" ChartArea="ChartArea1"
|
---|
156 | ChartType="Line" Color="185, 205, 150" Name="Cores">
|
---|
157 | </asp:Series>
|
---|
158 | </Series>
|
---|
159 | <ChartAreas>
|
---|
160 | <asp:ChartArea BackColor="Black" BackHatchStyle="DottedGrid" BackSecondaryColor="0, 96, 43"
|
---|
161 | BorderColor="DarkGreen" BorderDashStyle="Dot" Name="ChartArea1">
|
---|
162 | <AxisY>
|
---|
163 | <MajorGrid Enabled="False" />
|
---|
164 | </AxisY>
|
---|
165 | <AxisX IntervalAutoMode="VariableCount" IntervalOffset="1" IntervalOffsetType="Hours"
|
---|
166 | IntervalType="Hours" IsLabelAutoFit="False">
|
---|
167 | <MajorGrid Enabled="False" />
|
---|
168 | <LabelStyle Format="d/M/yyyy HH:mm" IsStaggered="True" />
|
---|
169 | </AxisX>
|
---|
170 | </asp:ChartArea>
|
---|
171 | </ChartAreas>
|
---|
172 | </asp:Chart>
|
---|
173 | <br />
|
---|
174 | </div>
|
---|
175 | </form>
|
---|
176 | </body>
|
---|
177 | </html>
|
---|