From 8434963e68cb06c7d2d53caee107a7b3e3dbdc81 Mon Sep 17 00:00:00 2001 From: Robert Ricci <ricci@cs.utah.edu> Date: Mon, 22 Oct 2007 19:40:30 +0000 Subject: [PATCH] Put back in a line I accidentally removed in the last commit, and add a comment about a place where I'm pretty sure I've got a constant wrong or something... --- pelab/bgmon/manager.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pelab/bgmon/manager.pl b/pelab/bgmon/manager.pl index 86cfbd47d2..b4e355389b 100644 --- a/pelab/bgmon/manager.pl +++ b/pelab/bgmon/manager.pl @@ -29,6 +29,7 @@ my $debug = 0; my $impotent = 0; my $evexpt = "__none"; my $bgmonexpt; +my $default_bgmonexpt = "tbres/pelabbgmon"; my ($server,$port,$cmdport); my %opt = (); if (!getopts("s:p:c:dih", \%opt)) { @@ -38,6 +39,8 @@ if (!getopts("s:p:c:dih", \%opt)) { # # Caps enforced on users and globally. Totally made-up. # Rates are in kilobytes / second, data transfer sizes are in kilobytes +# XXX: I think I have a constant wrong here somewhere, these limts should +# not have to be this high # my $USER_AVGRATE_CAP = 10 * 1024 / 8.0; # 10Mbps my $USER_DAILY_CAP = 1000 * 1024 * 1024 / 8.0; # 100Gbit -- GitLab