Operating System - HP-UX
1830938 Members
1826 Online
110017 Solutions
New Discussion

How to determine what process utilize a disk

 
Artyom Voronchihin
Respected Contributor

How to determine what process utilize a disk

Hello !
My system disk utilization is about 100%. How can i determine what process use the disk with standard HPUX tools ? Unfortunately i don't have commercial tools like Glance.
"Intel inside" is not a label, it's a warning.
7 REPLIES 7
Stanimir
Trusted Contributor

Re: How to determine what process utilize a disk

I thing the command "fuser" is
helpfull here.
After this you could make association
also with "top".
Robert-Jan Goossens
Honored Contributor

Re: How to determine what process utilize a disk

Hi,

Without glance it is a bit more complicated, you can try to find the processes using the filesystem with a tool like lsof.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/

Hope it helps,

Robert-Jan.
TOMAS BERNABEU
Frequent Advisor

Re: How to determine what process utilize a disk


Install the trial version of glance plus for
60 days of evaluation.
This tool will be to you of greater aid and from a easy and graphical way you can obtain all the necessary data.

Tom
TOMAS BERNABEU
Frequent Advisor

Re: How to determine what process utilize a disk


download glance plus evaluation software ( 60 days ) from :
http://www.openview.hp.com/products/gplus/tc_gplus_0001.html

Tom
Angus Crome
Honored Contributor

Re: How to determine what process utilize a disk

You can use fuser against each level of the file system (including a file).

fuser /dev/rdsk/cXtYdZ
fuser /dev/dsk/cXtYdZ
fuser /dev/vgXX/lvolY
fuser /
fuser //

Each one will give you different results, but usually the best choice is the lvol.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
doug mielke
Respected Contributor

Re: How to determine what process utilize a disk

If you have many drives / filesystems, finding it could be tedious.

Glance is the tool to use. Without Glance, I'd start with 'top' here, to find the process that's taking up so much resource. Top will display not only heavy disk user, but heavy use of entire system.

sar -d 5 5 should show what disk, then strings /etc/lvmtab and more /etc/fstab
to find which disk, then use the fuses as described above
doug mielke
Respected Contributor

Re: How to determine what process utilize a disk

bad typos

fuses should read fuser