From: probe Date: Thu, 27 Oct 1994 17:20:47 +0000 (+0000) Subject: Send out the zgrams without pings, and suppress the return information. X-Git-Tag: OPSSRC_BASE~36 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/26ad716b24e124bf9a9a63cc336def6d799df2e8 Send out the zgrams without pings, and suppress the return information. --- diff --git a/incremental/afs_quota.pl b/incremental/afs_quota.pl index 860f0835..444a932f 100644 --- a/incremental/afs_quota.pl +++ b/incremental/afs_quota.pl @@ -55,19 +55,19 @@ die "Unable to change quota on $path\n" if ($?); &afs_quota_adj($cell,$asrv,$apart,$newq-$oldq); if ($dusage > (0.9 * $dtotal)) { - system("$zwrite","-c","afsadm","-m", + system("$zwrite","-q","-n","-c","afsadm","-m", "WARNING: Disk usage on $asrv:$apart is greater than 90% Used $dusage K out of $dtotal K"); } elsif (($dusage + ($newq-$vusage)) > (0.9 * $dtotal)) { - system("$zwrite","-c","afsadm","-m", + system("$zwrite","-q","-n","-c","afsadm","-m", "Quota change on volume $vname, if used completely will cause $asrv:$apart to be over 90% used. Current volume usage: $vusage, old quota $oldq, new quota $newq"); } elsif ($newq-$oldq > 39999) { - system("$zwrite","-c","afsadm","-m", + system("$zwrite","-q","-n","-c","afsadm","-m", "Increased quota on volume $vname ($asrv:$apart) from $oldq to $newq"); }