Re: sysstat: iostat is unusable on kfreebsd-* (no disk-related stats)
Wiadomość napisana przez Mats Erik Andersson w dniu 2011-03-29, o godz. 18:29:
> måndag den 28 mars 2011 klockan 16:50 skrev Steve Schnepp detta:
>> Package: sysstat
>> Version: 22.214.171.124-2
>> Severity: normal
>> On the kfreebsd-* architecture, iostat doesn't output any disk-related stats.
> The problem here is that GNU/kFreeBSD has no compatibility layer present
> in "/proc/diskstats". Therefore neither "iostat", nor "iostat ad0", can
> produce any useful information.
> There are three possible solution paths:
> 3) Implement support the interface "/proc/diskstats" in
> the kernel itself. It is improbable that upstream would
> like any such modification, so GNU/kFreeBSD would be on
> its own here. The number of software packages relying
> on this proc-file is by far smaller than those peeking
> into "/proc/net/*", so priority is low here.
Actually, I think such contribution would be welcome. While procfs
in FreeBSD is considered obsolete, the linprocfs is definitely not.
If you cut off my head, what would I say? Me and my head, or me and my body?