less noise.

This commit is contained in:
hjp 2006-09-25 08:19:46 +00:00
parent 6e21e0d270
commit 32199d9d7c
1 changed files with 4 additions and 4 deletions

View File

@ -133,7 +133,7 @@ sub parseline($$) {
(\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)\s+ (\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)\s+
(\d+)\s+(\d+)\s+(\d+) (\d+)\s+(\d+)\s+(\d+)
/x) { /x) {
print "block limit: $1: $2 > ($3 $4) $5\n"; #print "block limit: $1: $2 > ($3 $4) $5\n";
$user = $1; $user = $1;
$msg = warnmsg($mount, $2/1024, $3/1024, $4/1024, $5, "MB", $user); $msg = warnmsg($mount, $2/1024, $3/1024, $4/1024, $5, "MB", $user);
@ -141,17 +141,17 @@ sub parseline($$) {
(\d+)\s+(\d+)\s+(\d+)\s+ (\d+)\s+(\d+)\s+(\d+)\s+
(\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime) (\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)
/x) { /x) {
print "file limit: $1: $5 > ($6 $7) $8\n"; #print "file limit: $1: $5 > ($6 $7) $8\n";
$user = $1; $user = $1;
$msg = warnmsg($mount, $5, $6, $7, $8, "Files", $user); $msg = warnmsg($mount, $5, $6, $7, $8, "Files", $user);
} elsif (/(\S+) \s+ \+\+ \s* } elsif (/(\S+) \s+ \+\+ \s*
(\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)\s+ (\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)\s+
(\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime) (\d+)\s+(\d+)\s+(\d+)\s+($hpuxtime|$linuxtime)
/x) { /x) {
print "block limit: $1: $2 > ($3 $4) $5\n"; #print "block limit: $1: $2 > ($3 $4) $5\n";
$user = $1; $user = $1;
$msg = warnmsg($mount, $2/1024, $3/1024, $4/1024, $5, "MB", $user); $msg = warnmsg($mount, $2/1024, $3/1024, $4/1024, $5, "MB", $user);
print "file limit: $1: $6 > ($7 $8) $9\n"; #print "file limit: $1: $6 > ($7 $8) $9\n";
$msg .= "\n\n" . warnmsg($mount, $6, $7, $8, $9, "Files", $user); $msg .= "\n\n" . warnmsg($mount, $6, $7, $8, $9, "Files", $user);
} else { } else {
print "$mount: $.: unparseable: $_"; print "$mount: $.: unparseable: $_";