Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Clock drift and other open issues: Collecting information
>> That's one reason I tend to use sysctl for querying, and sysctl -w
>> for changing, resource limits. (The other is that the syntax is
>> significantly less shell-dependent.)
> The problem with that is that you can deal with the hard limits, but
> tricky with process limits. The classic "what commands must be
> built-in in a shell".
proc.$$.rlimit (rather than proc.curproc.rlimit) is your friend in that
regard.
The "what commands must be built-in" applies only when there's no
interface that lets a separate process affect the settings for the
shell. When the interface is setrlimit(), that's so, but with sysctl a
child process _can_ affect the shell's resource limits.
/~\ 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