|
Home > Archive > Unix Programming > February 2004 > A question with kstat
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
A question with kstat
|
|
| Benjamin Wang 2004-02-19, 12:34 pm |
| Hi,
I am trying to get DISK IO status with kstat KSTAT_TYPE_IO. The language is
C, and the platform is solaris 2.7.
My program got more than 50 records about DISK IO from kstat chain. But
seems there isn't so many disks installed on the machine.
Is there any suggestion?
Thanks very much!
Ben
| |
| Eric Sosman 2004-02-20, 4:34 am |
| Benjamin Wang wrote:
>
> Hi,
>
> I am trying to get DISK IO status with kstat KSTAT_TYPE_IO. The language is
> C, and the platform is solaris 2.7.
> My program got more than 50 records about DISK IO from kstat chain. But
> seems there isn't so many disks installed on the machine.
You're probably seeing each physical disk plus all its
"slices:" dad0 and dad0,a dad0,b, ... dad0,h.
--
Eric.Sosman@sun.com
|
|
|
|
|