Hi guys,

What is the best way to control a process (running in chroot env):
1- Execution time
2- Memory limit
And to be able to kill the process when it breaks this limits.

Finally, i would like to know the exit status of the process or the
signal that killed it (sigfault, .....)

The idea is that I'm developing a problem judge that runs FreeBSD
(something like www.spoj.pl or topcoder.com/tc)
Where every problem has a run-time and a memory limit.

Thanks a lot


-- 
System Programmer
--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
--
http://libosdk.berlios.de
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to