All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 011d0c25 authored by Kevin Atkinson's avatar Kevin Atkinson

Minor fixes to last commit.

parent 0763d8ce
......@@ -33,7 +33,8 @@ post-install:
$(INSTALL_LIBEXECDIR)/node_usage/%: %
@echo "Installing $<"
-mkdir -p @prefix@/data/node_usage
sudo mkdir -p @prefix@/data/node_usage
sudo chmod 775 @prefix@/data/node_usage
-mkdir -p $(INSTALL_LIBEXECDIR)/node_usage
$(INSTALL) $< $@
......
Scripts to gather node usage data.
Only designed to work on Utah's testbed, but could be adopted to other
sites with some effort.
Before install:
mkdir /usr/testbed/www/node_usage
mkdir /usr/testbed/data/node_usage
mkdir /usr/testbed/data/node_usage/data
mkdir /usr/testbed/data/node_usage/scripts
mysqladmin create node_usage
Than:
gmake node_usage-install
And install a crontab entry in /etc/crontab:
30 5 * * * root /usr/testbed/data/node_usage/scripts/refresh
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# All rights reserved.
#
require("../defs.php3");
PAGEHEADER("Testbed Node Usage Stats");
?>
$avail_header
<h2 align=center>Recent Availability</h2>
<p align=center>
<b>Last 2 Weeks (hourly)</b>
<br>
<img src="node_avail-hourly_last2weeks.png">
<br>
<p align=center>
<b>Last 2 Months (daily)</b>
<br>
<img src="node_avail-daily_last2months.png">
<p align=center>
<hr>
<h2 align=center>Diurnal</h2>
<p align=center>
<b>A Typical Week (hourly, average since 2005)</b>
<br>
<img src="node_avail-by_hourofweek.png">
<p align=center>
<hr>
<h2 align=center>Long-Term Trends</h2>
<p align=center>
<b>Since Sep 2005 (yearly)</b>
<br>
<img src="node_avail-yearly.png">
<p align=center>
<b>Since Sep 2005 (monthly)</b>
<br>
<img src="node_avail-monthly.png">
<p align=center>
<b>Since Sep 2005 (weekly)</b>
<br>
<img src="node_avail-weekly.png">
<p align=center>
$avail_footer
<?php
PAGEFOOTER();
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment