tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: accessing another process' resource limits
> Is there an interface for reading (or even writing) another process'
> ulimits?
Yes.
Command-line: sysctl proc.$PID.rlimit.$RESOURCE.{soft,hard} (use -w to
change them, of course).
API: sysctl(3) with the analogous MIB.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index