forked from guoguo12/hivemind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·106 lines (96 loc) · 4.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Hivemind - Server Stats</title>
<meta name="description" content="Usage stats for the Berkeley EECS instructional computers.">
<meta name="author" content="Allen Guo">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/hint.css">
<link rel="stylesheet" href="css/styles.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div id="top">
<div class="container">
<a href="/" id="title">Hivemind</a>
<a href="https://github.com/guoguo12/hivemind" id="gh-link" target="_blank">View on GitHub</a>
</div>
</div>
<div class="container" id="main">
<div class="row box warning hidden">
<p>
Hivemind is currently not being updated. Operations will resume in mid-January.
</p>
<p>
The sample data below is from 4:40 PM on 11/18/2015.
</p>
</div>
<div class="row box">
<p>
This site displays usage stats for the Berkeley EECS instructional computers.
</p>
<p>
<span id="updated"></span> <span id="loading">Loading latest data...</span>
</p>
</div>
<div class="row box info hidden" id="stats">
<p class="hidden">
The average CPU usage across all servers is <b id="average"></b>.
</p>
<p>
The least-busy Hive server is <a href="javascript:void(0)" id="best-hive" tabindex=1></a>.
</p>
<p class="hidden">
The least-busy server overall is <a href="javascript:void(0)" id="best" tabindex=2></a>.
</p>
</div>
<div class="row" >
<table class="u-full-width tablesorter hidden">
<thead>
<tr>
<th>Server name</th>
<th>Overall load<sup><a href="#" class="hint--right" data-hint="Click 'View on GitHub' above for details on how this is calculated">?</a></sup></th>
<th>User count</th>
<th>CPU usage<sup><a href="#" class="hint--right" data-hint="Average CPU utilization over the past 5 minutes across all cores">?</a></sup></th>
</tr>
</thead>
<tbody id="data-body">
</tbody>
</table>
</div>
<div id="footer">
This site was developed with the support of the EECS Instructional Support Group, but is independently student-operated.
<br>
This site uses Google Analytics to better understand user behavior. Learn more or opt out <a href="https://support.google.com/analytics/answer/6004245" target="_blank">here</a>.
</div>
</div>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script src="js/jquery.js"></script>
<script src="js/jquery.tablesorter.min.js"></script>
<script src="js/moment.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="js/main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43676088-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>