According to Brooks Davis:
> I'm seeing a very strange problem with ps. I was calling "ps -U
Speaking of ps, since we moved into SMPng, almost all processes seems to have
the 'D' state... I guess it is expected but a little strange, no?
388 [13:28] roberto@sidhe:~>
On Sat, Mar 17, 2001 at 10:02:16AM +, David Malone wrote:
> On Fri, Mar 16, 2001 at 06:21:46PM -0800, Brooks Davis wrote:
> > Ah, you are correct. I should have tried that. What a strange bug.
>
> It happens for any option which causes the sysctl to return no
> processes to libkvm. (Try ps
> I actually prefer the ESRCH patch as a) it better describes what happens and b
> it returns a proper error when no processes are found, making it easier for
> other programs to detect this error condition. Programs should already be
> checking for a error return from the sysctlbyname() that the
On 17-Mar-01 David Malone wrote:
> On Fri, Mar 16, 2001 at 06:21:46PM -0800, Brooks Davis wrote:
>> Ah, you are correct. I should have tried that. What a strange bug.
>
> It happens for any option which causes the sysctl to return no
> processes to libkvm. (Try ps -p 10). I think the follo
On Fri, Mar 16, 2001 at 06:21:46PM -0800, Brooks Davis wrote:
> Ah, you are correct. I should have tried that. What a strange bug.
It happens for any option which causes the sysctl to return no
processes to libkvm. (Try ps -p 10). I think the following
patch should fix the problem.
(Kirk c
On Fri, Mar 16, 2001 at 06:17:37PM -0800, Alex Zepeda wrote:
> On Fri, Mar 16, 2001 at 06:12:29PM -0800, Brooks Davis wrote:
> > I'm seeing a very strange problem with ps. I was calling "ps -U
>
> >From what I can tell (I've seen this for a while), calling ps
On Fri, Mar 16, 2001 at 06:12:29PM -0800, Brooks Davis wrote:
> I'm seeing a very strange problem with ps. I was calling "ps -U
>From what I can tell (I've seen this for a while), calling ps -U username
where username has no running processes (or none shown), will return s
I'm seeing a very strange problem with ps. I was calling "ps -U
operator" to check the status of some dumps and it was working fine, but
then I ran it again and got a kinfo_proc size mismatch. Calling it with
no args still works, but calling it with -U doesn't. This is