[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
How can a process find out its resource limits -- particularly rtprio
- From: Jonathan Ryshpan <jonrysh pacbell net>
- To: pam-list redhat com
- Subject: How can a process find out its resource limits -- particularly rtprio
- Date: Fri, 09 Feb 2007 18:07:45 -0800
The functions sched_get_priority_max() and sched_get_priority_min()
return the max and min priorities available for the scheduling policy in
force (currently 99 and 1 for SCHED_RR).
What method can be used to discover the max priority currently available
to the current process, as controlled by /etc/security/limits.conf (or
whatever controls it at the time of the inquiry)? More generally, how
can a process discover what values are set in /etc/security/limits.conf?
In particular this is for the kernel 2.6.19-1.2895.fc6 running
(naturally) under Fedora Core 6.
I hope this is a stupid question.
Thanks - jon
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]