Working patch for iostat
thomas.nikolajsen at mail.dk
Mon Feb 28 22:45:50 PST 2011
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.
More information about the Kernel