Operating System - HP-UX
1833750 Members
2772 Online
110063 Solutions
New Discussion

Disk peak utilization on /var

 
BiagioL
New Member

Disk peak utilization on /var

Hi,

with glance i view a very frequents peaks to use the internal disk 100%, particularly on lvol8.
how can I understand what the file where are doing all this IO?
I tried to make a fuser files into the /var but that does not helped me to identify the problem.

Thanks
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Disk peak utilization on /var

Shalom,

Add an fuser -cu /var
to your measurement to see what user and processes are using the file system at the time.

You can use lsof to get the process doing the i/o.

The scripts contained here:
http://www.hpux.ws/?p=6

Can probably be modified to get you a look at what jobs are eating a lot of i/o

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
Deepak Kr
Respected Contributor

Re: Disk peak utilization on /var

Hi,

Sometime peak usage on var is for only few minutes or seconds as many applications may be writing in some temp files under /var.

As SEP suggested....you run fuser and lsof to find the exact user /app processes doing extensive I/O in /var.


You can better a script to monitor /var file system usage...
"There is always some scope for improvement"
Rasheed Tamton
Honored Contributor

Re: Disk peak utilization on /var

Lsof would be good in this situation.

lsof /var |sort -unk2 |more

or run fuser on the device name

fuser -u /dev/vg00/lvol8

rgds.
Dennis Handly
Acclaimed Contributor

Re: Disk peak utilization on /var

>Kumar Deepak: many applications may be writing in some temp files under /var.

If it is temp files, you may consider using TMPDIR to redirect them elsewhere.
If no changes, then that wasn't it.