tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Another kvm user can go away?



I have managed to provide access to all of the kernel history data via sysctl, and I've come up with a modified version of vmstat(1) that can read the data from sysctl rather than having to use kvm.

Diffs for sys/sys/kernhist.h and sys/kern/kern_history.c can be found at www.netbsd.org/~pgoyette/my_vmstat/kernhist.diffs In the same directory you can find a source file my_vmstat.c (and its associated Makefile).

Please review and comment (preferably constructively), and let me know what more needs to be done before it gets committed.


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index