Maslan, good day. Tue, Dec 02, 2008 at 09:53:09AM +0000, Maslan wrote: > 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.
man 2 setrlimit > Finally, i would like to know the exit status of the process or the > signal that killed it (sigfault, .....) If you're spawning the process in question, then 'man 2 wait'. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #
pgpSeBCIu43Om.pgp
Description: PGP signature