Re: trouble getting memory and swap info

看板DFBSD_kernel作者時間21年前 (2004/10/28 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/8 (看更多)
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
文章代碼(AID): #11WAT400 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11WAT400 (DFBSD_kernel)