Révision dd37aaba
little fix
| plugins/other/vpsmem | ||
|---|---|---|
| 10 | 10 |
BEANCOUNTERS=/proc/user_beancounters |
| 11 | 11 |
|
| 12 | 12 |
if [ "$1" == "autoconf" ]; then |
| 13 |
if [ -e $BEANCOUNTERS ]; then
|
|
| 14 |
echo yes
|
|
| 15 |
exit 0
|
|
| 16 |
else
|
|
| 17 |
echo no
|
|
| 18 |
exit 1
|
|
| 19 |
fi
|
|
| 13 |
if [ -e $BEANCOUNTERS ]; then
|
|
| 14 |
echo yes
|
|
| 15 |
exit 0
|
|
| 16 |
else
|
|
| 17 |
echo no
|
|
| 18 |
exit 1
|
|
| 19 |
fi
|
|
| 20 | 20 |
fi |
| 21 | 21 |
|
| 22 | 22 |
if [ ! -r $BEANCOUNTERS ]; then |
| ... | ... | |
| 49 | 49 |
limit.draw LINE2 |
| 50 | 50 |
limit.info memory usage limit |
| 51 | 51 |
EOF |
| 52 |
exit 0
|
|
| 52 |
exit 0
|
|
| 53 | 53 |
fi |
| 54 | 54 |
|
| 55 |
if [ $# -gt 0 ]; then
|
|
| 55 |
if [ -n "$1" ]; then
|
|
| 56 | 56 |
echo "Invalid argument: $1" >&2 |
| 57 | 57 |
exit 1 |
| 58 | 58 |
fi |
Formats disponibles : Unified diff