[PATCH] Support for RLIMIT_RTTIME on Linux

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Support for RLIMIT_RTTIME on Linux

Maciej Wolny
Bash's ulimit currently does not support RLIMIT_RTTIME present in the Linux
kernel. If you think such support could be added, please consider using my
patch (in the attachment).

I had some trouble coming up with a string that shows up when invoking
ulimit -a. In the patch, it's "real-time cpu time" which is misleading,
since it suggests that this option is analogous to -t, (cpu time), which it
isn't. There's also a question which letter should be used to denote this
new option.

Please let me know what you think.
milloni

ulimit-rlimit_rttime.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] Support for RLIMIT_RTTIME on Linux

Chet Ramey
> Bash's ulimit currently does not support RLIMIT_RTTIME present in the Linux
> kernel. If you think such support could be added, please consider using my
> patch (in the attachment).

Thanks for the patch.  I'll keep it on the list for a future version.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [hidden email]    http://cnswww.cns.cwru.edu/~chet/

Loading...