Unix Disk Activity Tools???

Associate
Joined
28 Jul 2004
Posts
553
Hi,

I've got a HP-UX box that has very continuously high disk usage happening on it. Basically I want to know which are the files that are getting continuously accessed? for read/write. So I can then narrow down on what user/programs are causing it to perform like this.

What commands can I use to see this???

Any pointers about what to use, to see where our bottleneck is appreciated.

Cheers.
 
Una said:
top should show disk activity, or lsof if you want to a more detailed view of whats going on.

'top' shows processes, not actual file names that are being accessed i believe.

'lsof' looks more like what im after, but will it actually show me how often/how much a file is being used?

lsof is not already installed on hpux so i'll need to put it on, but would obviously like to know its what im after before i install it.

cheers.
 
skiba said:
does iostat exist on hpux? it won't show filenames but should give you an idea of when disk usage is intensive and you should be able to narrow it down from there? maybe it's ioscan on hpux?

yes iostat is on hpux.... but as you will know it just shows which disks are getting hammered. Which i've already been looking at... but what i now want to do is find out which are the files that are getting all the read/write on those disks. (i.e. which file accesses are the ones that are causing the high disk usage).

Cheers.
 
bitslice said:
find . -type f -mtime -1 -print > \logmodtime.txt
.

Yeah, ive done that before cheers. It gives me a list of files edited in the last 24 hours as suggested, but it still doesn't show what im after finding out.
 
Back
Top Bottom