SPUG: ulimit

Brian Hatch bri at ifokr.org
Wed Apr 7 23:14:23 CDT 2004



> Found in /usr/share/perl/5.8/pod/perlfaq8.pod
>        How do I set CPU limits?
> 
>        Use the BSD::Resource module from CPAN.

Excellent.

	use BSD::Resource;

	setrlimit(RLIMIT_CORE,0,0);

and all's well.

--
Brian Hatch                  Linux. The OS for
   Systems and                those with an IQ
   Security Engineer          greater than 98.
http://www.ifokr.org/bri/

Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.pm.org/pipermail/spug-list/attachments/20040407/29bced46/attachment.bin


More information about the spug-list mailing list