I like iostat, but...
Borja Marcos
borjam at sarenet.es
Tue Sep 23 06:57:03 UTC 2014
On Sep 22, 2014, at 11:22 PM, David Wolfskill wrote:
> ... I rather wish I could get the same information via sysctl. (Well,
> something seems to be available via the "opaque" kern.devstat.all
> sysctl(8) variable, but sysctl(8) doesn't display all of it, and parsing
> it seems as if that would require knowledge about the internals of the
> system where the data were acquired.)
Reading sysctl from a small C program is not hard at all. I did it for devilator (a data recollector for Orca). And
there's a lot of data available. An advantage is, you avoid launching several processes.
Borja.
More information about the freebsd-performance
mailing list