1752781 Members
6140 Online
108789 Solutions
New Discussion

Using pstat on disk io

 
Matthew (RIM)
New Member

Using pstat on disk io

Hi,

I am new here.

I try to write something using PSTAT to get the io stats for each disk device. The output I am expecting should look very much like glance -i. The problem I am having is that I can't get file system name and device from pstat_getdisk. pstat_getdisk only gives device index name, like what you get from iostat command, not file system name or device name.

Also if there is a way to map the device column in iostat command to more readable device name or file system name I am fine too, but I just don't know how. Are there any utilities or commands that can translate device index name to a more readable format?

Thanks very much in advance.
Matthew