HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: want to drill down further to find source of d...
Operating System - HP-UX
1834497
Members
2953
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2002 02:00 PM
11-11-2002 02:00 PM
want to drill down further to find source of disk bottleneck
With Glance, I've determined a disk and a specific filesystem to be a bottleneck. Now, I'd like to find out even further which specific file or files are the problem. I can use glance or lsof to see which processes have which files open. (It turns out I have close to a hundred processes which are using that filesystem.) But does anyone know of a way to find out which files are getting hit the hardest? Or, given a process, break out its I/O rates by disk or filesystem instead of just a total I/O rate for that process?
Thanks,
Doug
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2002 02:20 PM
11-11-2002 02:20 PM
Re: want to drill down further to find source of disk bottleneck
Hi Doug
I can be quite hard to catch a process within glance as it may have come and gone in a short period of time.
You could have 2 screens open, the first looking at I/O by file system, the 2nd with the command ready to catch the pid outputting it to a file. With this method you can quickly gather file information from the PID in the NODE column.From the files you could extract the 8th and 9th column (i think) for the mount point and inode
more file | awk '{print $8 " " $9}' >> somefile
then
cat somefile |
while read FILE INUM
do
find $FILE -inum $INUM -xdev -print >> files.out
done
The above will give you the files accessed by the pids.
Otherwise load the trial copy of measureware and perfview from the OS cd's , you'll get 30 days out of it
HTH
Steve
I can be quite hard to catch a process within glance as it may have come and gone in a short period of time.
You could have 2 screens open, the first looking at I/O by file system, the 2nd with the command ready to catch the pid outputting it to a file. With this method you can quickly gather file information from the PID in the NODE column.From the files you could extract the 8th and 9th column (i think) for the mount point and inode
more file | awk '{print $8 " " $9}' >> somefile
then
cat somefile |
while read FILE INUM
do
find $FILE -inum $INUM -xdev -print >> files.out
done
The above will give you the files accessed by the pids.
Otherwise load the trial copy of measureware and perfview from the OS cd's , you'll get 30 days out of it
HTH
Steve
take your time and think things through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2002 03:01 PM
11-11-2002 03:01 PM
Re: want to drill down further to find source of disk bottleneck
Hi,
Not an easy one... With glance you can identify which processes are doing the most I/O.
You can select each process and examine the files it has open with the F screen. Unfortunately glance doesn't list individual file I/O but by checking the Offset value you might get some idea which files have a lot of activity.
Regards,
John
Not an easy one... With glance you can identify which processes are doing the most I/O.
You can select each process and examine the files it has open with the F screen. Unfortunately glance doesn't list individual file I/O but by checking the Offset value you might get some idea which files have a lot of activity.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 09:41 AM
11-13-2002 09:41 AM
Re: want to drill down further to find source of disk bottleneck
find /filesystem -exec fuser -u {} \;
You might have to catch the stderr output.
I do the following
script
find /filesystem -exec fuser -u {} \;
exit
pg typescript
Rory
There are a 100 ways to do things and 97 of them are right
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP