Showing results for 
Search instead for 
Did you mean: 

Using pstat on disk io

Matthew (RIM)
Occasional Visitor

Using pstat on disk io


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.