DragonFly BSD
DragonFly kernel List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: trouble getting memory and swap info


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 09:25:30 +0200

On Thu, Oct 28, 2004 at 02:17:03AM +0200, Sten Spans wrote:
> On fbsd4 and probably dragonfly a program needs
> setgid kmem for certain memory statistics, which is
> why top works and gkrellm doesn't.

If you have details to which statistics are only available via kmem
and not by sysctl, tell me. We can easily add sysctl handlers for them
and remove the setgid kmem requirement from top and other such tools.
I don't like the idea of userland reading kernel memory directly at all.

Joerg



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