Groups
Groups
Sign in
Groups
Groups
python-ideas
Conversations
About
Send feedback
Help
[Python-ideas] Expose Linux-specific APIs in resource module
1 view
Skip to first unread message
Giampaolo Rodolà
unread,
Jun 3, 2012, 7:09:31 PM
6/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python...@python.org
>From "man getrlimit" we have 5 linux-specific constants which are
currently not exposed by resource module:
RLIMIT_MSGQUEUE
RLIMIT_NICE
RLIMIT_RTPRIO
RLIMIT_RTTIME
RLIMIT_SIGPENDING
Also, we have prlimit(), which is useful to get/set resources in a
per-process fashion based on process PID.
If desirable I can submit a patch for this.
--- Giampaolo
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/
http://code.google.com/p/pysendfile/
_______________________________________________
Python-ideas mailing list
Python...@python.org
http://mail.python.org/mailman/listinfo/python-ideas
Reply all
Reply to author
Forward
0 new messages