Re: Working patch for iostat

看板DFBSD_kernel作者時間15年前 (2011/03/01 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
On Sat, 26 Feb 2011 01:04:03 -0500 Pratyush Kshirsagar wrote: ... >Cheers, here is the working patch/diff of iostat :) >I tried it on my system and the results were good. >Please test and give me the feedback. I tried it on master here, it compiles, but running it fails: kern.cp_time sysctl doesn't exist in DragonFly, we have kern.cputime, see test/pcpu for example, if you would like to change kinfo..() to sysctl. Also patch contains change to GENERIC, which isn't supposed to be there I guess. (normally you will copyGENERIC to other file and change that) An update for manual page would also be nice; maybe with a description of what patch tries to achieve. -thomas
文章代碼(AID): #1DR9cqhf (DFBSD_kernel)
文章代碼(AID): #1DR9cqhf (DFBSD_kernel)