Operating System - HP-UX
1826415 Members
3942 Online
109692 Solutions
New Discussion

Investigating intensive disk usage

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

Investigating intensive disk usage

Hi,

I see unusal high disk activity on an HP-UX system.

Could you suggest me hints to figure out what files are read/written to so much? What process reads/writes so much?

Thanks and points in advance!

BR,
Mihails
KISS - Keep It Simple Stupid
7 REPLIES 7
RAC_1
Honored Contributor
Solution

Re: Investigating intensive disk usage

iostat 1 3
glance -i
Notive which file systems are getting hit high, then do lvdisplay and note down disks.
Check disk usages now
sar -d 2 10

glance -d will show you processes that using disk activity most. (top disk user id)
There is no substitute to HARDWORK
Ranjith_5
Honored Contributor

Re: Investigating intensive disk usage

Hi,

sar -d 10 5

See the average disk usage at the end of the output. See the VG which contains the disk id showing high usage in the sar output.


Regards,
Syam
Arunvijai_4
Honored Contributor

Re: Investigating intensive disk usage

Start with
# iostat -t 10 5
# glance

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Morcos
Super Advisor

Re: Investigating intensive disk usage

glance is a good utility for monitoring, you can use the trial software evaluation, it's on the application CD.
Arunvijai_4
Honored Contributor

Re: Investigating intensive disk usage

You can download more performance related tools from,
http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Jean-Luc Oudart
Honored Contributor

Re: Investigating intensive disk usage

Also

are you paging out

swapinfo -tam

Regards
Jean-Luc
fiat lux
Borislav Perkov
Respected Contributor

Re: Investigating intensive disk usage

Hi Mihails,

If you don't have glance try with

sar -d n m where n is number of sec for collection and m how many times you do that.
iostat -t n m. When using sar you need to pay attention on avwait and avserv parameters if they are high there is maybe device problem.

If on that device is swap than you can use swapinfo or vmstat n m page parameters.

You have to see which application use that disk, for example if it is raw device used by database.

Regards,
Borislav