On Fri, Feb 02, 2001 at 02:28:29AM +0900, Hajimu UMEMOTO wrote:
> >>>>> On Thu, 1 Feb 2001 17:11:35 +0000
> >>>>> Tony Finch <[EMAIL PROTECTED]> said:
> 
> dot> Thomas Moestl <[EMAIL PROTECTED]> wrote:
> >
> >Most kmem_read calls are easy to replace (the variables are already 
> >exported as sysctls), the only exception is nextproc (for which I might
> >add a sysctl, or just leave it out [anyone out there who needs the 
> >lastpid display?]).
> 
> dot> It's useful for seeing how fast the machine is forking.
> I beleive it's not meaningful if randompid is enabled.  
It is. It gives the greatest pid used up to now. The next pid is 
determined by adding 1 (and randomness in the randompid case) to it.
This is why I can export it without defeating randompid.

Of course, it would still be better to track the sysctls you named for
this, but people seem to like the lastpid dispay, so I won't remove it
for now.

        - thomas




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to