From: J.P. K. <jp...@he...> - 2002-02-04 10:37:28
|
> Odd, the error says -l is an illegal option, then lists it in the options.... > > bash-2.03$ . up > bash: ulimit: illegal option: -l > ulimit: usage: ulimit [-SHacdflmnpstuv] [limit] > bash: ulimit: illegal option: -m > ulimit: usage: ulimit [-SHacdflmnpstuv] [limit] > bash-2.03$ Yeah, this is my sloppy script :-) I suspect that Solaris doesn't allow non-root users to set -l (The maximum size that may be locked into memory) and -m (The maximum resident set size) It worked on FreeBSD, it still works on Solaris, but spews errors. I could fix it, but it is too low down my priority list at the moment. If anyone fancies doing it then I recommend doing stuff like OS=`uname` switch "$OS" ... Julian |