Operating System - HP-UX
1748181 Members
3952 Online
108759 Solutions
New Discussion юеВ

iostat, can I see mounted filesystem instead of disk device

 
SOLVED
Go to solution
avraam jack dectis
New Member

iostat, can I see mounted filesystem instead of disk device

Hello,

I want to see io by filesystem, not disk device.

Iostat on other unix versions allow this. HP/UX iostat does not seem to. Is there a work around or a different command to do this?
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor
Solution

Re: iostat, can I see mounted filesystem instead of disk device

Hi:

You could use 'glance'.

Regards!

...JRF...
avraam jack dectis
New Member

Re: iostat, can I see mounted filesystem instead of disk device

Great, that looks useful.

What I am looking for specifically is megabytes read and megabytes written per filesystem , as well as per disk.

I did see number of reads or writes in glance, but that was not translated into megabytes.
Steven E. Protter
Exalted Contributor

Re: iostat, can I see mounted filesystem instead of disk device

Shalom,

Can you post your results

Can you give background on what you are trying to achieve?

A file system is mounted on a disk device.

You can probably figure out which disk is hot by looking at the vgdisplay -v information for the volume group you are monitoring.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
avraam jack dectis
New Member

Re: iostat, can I see mounted filesystem instead of disk device

Thank you, that is very useful in determining which disk is which filesystem.

I was hoping to achieve an output that on one line listed the filesystem, percent busy the disk drives are, number of megabytes ( or equivalent ) read, number of megabytes ( or equivalent ) written.

I see however that I can piece it together from a number of commands, so that is good.

Thanks!
vishnu.khandare
Respected Contributor

Re: iostat, can I see mounted filesystem instead of disk device

Hi,

Use glance, check the other option in glance
by which u can get the lvol wise load.


Regards
Vishnu Khandare
You should deserve before U desire!!!!
Pete Randall
Outstanding Contributor

Re: iostat, can I see mounted filesystem instead of disk device

You can use Glance for exactly that information. GPM > Reports > Disk Info > IO by File System


Pete

Pete
Pete Randall
Outstanding Contributor

Re: iostat, can I see mounted filesystem instead of disk device

That example used the GUI version - the same information is available in the graphical interface: glance > disk (F4) > next (F5) > next (F5) > IO by file system (F3)


Pete

Pete
SunnyS
Advisor

Re: iostat, can I see mounted filesystem instead of disk device

"sar" is another useful tool for seeing I/O activity by HBA, disk, etc.
muruganantham raju
Valued Contributor

Re: iostat, can I see mounted filesystem instead of disk device

Hi,
You can run glance -i to get IO BY File System Report.

You can also run glance in adviser mode like below.

#cat myadviser

print GBL_STATTIME
fs loop
{
print "DEV Name:", FS_DEVNAME, " FS Dir:", FS_DIRNAME, " Physical Read Rate:", FS_PHYS_READ_BYTE_RATE, " Physical Write Rate:", FS_PHYS_WRITE_BYTE_RATE, " Physical IO Rate:", FS_PHYS_IO_RATE
}
print " "

#glance -aos ./myadviser

HTH
Muru