12 lines
339 B
Bash
12 lines
339 B
Bash
#!/bin/bash
|
|
test $(ulimit -l) -lt 64 && exit 1
|
|
test $(ulimit -s) -lt 8192 && exit 1
|
|
if test $(getconf LONG_BIT) -le 32 ; then
|
|
test $(ulimit -m) -lt 6852272 && exit 1
|
|
test $(ulimit -v) -lt 5010688 && exit 1
|
|
else
|
|
test $(ulimit -m) -lt 10471232 && exit 1
|
|
test $(ulimit -v) -lt 6683794 && exit 1
|
|
fi
|
|
exit 0
|