Precision with "setrlimit"

Karl Auer kauer at biplane.com.au
Sun May 22 12:59:08 UTC 2011


On Sun, 2011-05-22 at 20:42 +0800, Maybe Lau wrote:
> >> But when I limited a process's CPU time to 10 sec, it was killed after
> >> more than 1 min. I don't know if it's right with my code and if it's
> >> right with the status.

Was it killed after one minute of elapsed time, or one minute of CPU
time? Just a thought...

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/kauer/                   +61-428-957160 (mob)

GPG fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
Old fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110522/6aea1743/attachment.sig>


More information about the ubuntu-users mailing list