Commit 8ab3e170 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Initial checkpoint of a script that will check the stats tables

nightly, and make repairs for the common things I see happening.  The
current version repairs most of the errors that have crept in since
the Epoch, and then rebuilds the summary stats table (user_stats,
group_stats, project_stats). My intent is to add a "daily_stats" table
as well since scanning the testbed_stats and experiment_resources
table to generate range data is getting pretty slow as more records
enter the system. We can also use a daily_stats table to generate
graphs on the fly as Jay requested a few weeks ago.

Not done yet, hope to return to it later this week.
parent 4e63368f
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved.
SRCDIR = @srcdir@
......@@ -17,7 +17,7 @@ SBIN_SCRIPTS = avail inuse showgraph if2port backup webcontrol node_status \
dbcheck interswitch dbboot grabron stategraph newwanode \
idletimes idlemail setsitevar audit changeuid changepid \
elabinelab_bossinit update_permissions mysqld_watchdog \
dumperrorlog changeleader
dumperrorlog changeleader checkstats
WEB_SBIN_SCRIPTS= webnodelog webnewwanode webidlemail webchangeuid \
This diff is collapsed.
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