Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1cbf6305
Commit
1cbf6305
authored
Jul 27, 2005
by
Timothy Stack
Browse files
Check for other messages from quota.
parent
72fc6f2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/checkquota.in
View file @
1cbf6305
...
...
@@ -112,7 +112,10 @@ open(QUOTA, "$SSHTB -host $CONTROL $QUOTACMD -q -l $user |") or
"
Could not invoke
$QUOTACMD
on
$CONTROL
!
\n
");
while
(
<
QUOTA
>
)
{
if
(
$_
=~
/limit reached on ([-\w\/]*)$/
)
{
if
((
$_
=~
/limit reached on ([-\w\/]*)$/
)
||
(
$_
=~
/grace period on ([-\w\/]*)$/
)
||
(
$_
=~
/Over file quota on ([-\w\/]*)$/
)
||
(
$_
=~
/Over block quota on ([-\w\/]*)$/
))
{
print
STDOUT
"
*** Disk Quota exceeded on $1
\n
";
$overquota
++
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment