Precision with "setrlimit"
dotKrnl@Gmail.com
dotkrnl at gmail.com
Sun May 22 13:21:18 UTC 2011
Thank you. I got the time with "time". And it's usr time.
-----Original Message-----
From: Karl Auer
Sent: 05/22/2011 8:59:08 PM
Subject: Re: Precision with "setrlimit"
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
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list