Using uvmhist without ddb?

2013-02-21 Thread Brian Buhrow
Hello.  I'm working on an issue with NetBSD-5 that may involve a
problem with error paths in uvm.  I'd like to  use the uvmhist facilities
in NetBSD to see if I can help track the issue down.  However, the machine
on which I'm doing this work doesn't support the convenient use of ddb(4).
Is there a way to get  uvm to print its statistical history without having
to drop the machine into ddb?
-thanks
-Brian



Re: Using uvmhist without ddb?

2013-02-21 Thread Eduardo Horvath
On Thu, 21 Feb 2013, Brian Buhrow wrote:

>   Hello.  I'm working on an issue with NetBSD-5 that may involve a
> problem with error paths in uvm.  I'd like to  use the uvmhist facilities
> in NetBSD to see if I can help track the issue down.  However, the machine
> on which I'm doing this work doesn't support the convenient use of ddb(4).
> Is there a way to get  uvm to print its statistical history without having
> to drop the machine into ddb?

Look at UVMHIST_PRINT.

Eduardo


Re: Using uvmhist without ddb?

2013-02-21 Thread Matt Thomas

On Feb 21, 2013, at 4:14 PM, Eduardo Horvath  wrote:

> On Thu, 21 Feb 2013, Brian Buhrow wrote:
> 
>>  Hello.  I'm working on an issue with NetBSD-5 that may involve a
>> problem with error paths in uvm.  I'd like to  use the uvmhist facilities
>> in NetBSD to see if I can help track the issue down.  However, the machine
>> on which I'm doing this work doesn't support the convenient use of ddb(4).
>> Is there a way to get  uvm to print its statistical history without having
>> to drop the machine into ddb?
> 
> Look at UVMHIST_PRINT.

or vmstat -U or vmstat -u