- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Which process it using all my disk I/O ?
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-21-2006 12:20 AM
тАО03-21-2006 12:20 AM
I have a problem on an HP-UX 11.11 server. Every so often disk I/O max's out at 100%. It will be like this for a few minutes then return to normal - it is apparently happening randomly and I have no idea what is causing it. I have tried to work it out by using Glance but to be honest, I'm not sure what I'm looking for.
Whilst disk I/O is at 100% how can I find out which process is causing it?
Many thanks,
Dave.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 12:26 AM
тАО03-21-2006 12:26 AM
Re: Which process it using all my disk I/O ?
Do you use the GUI interface to Glance? If so, here is how I would approach this.
From the GPM Main window, select Reports > Process List. In the Process List window, select Configure > Sort Fields. That brings up a window where you highlight the field you want to sort on and move that field to the leftmost side - the field are sorted from left to right so moving Phys IO Rate all the way to the left will show you your most I/O intensive process.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 01:29 AM
тАО03-21-2006 01:29 AM
Re: Which process it using all my disk I/O ?
Use "sar -d" to see individual disk performance and observe if you have higher than normal average wait and service times. Pay close attention as well on which disks have queue lengths in excess of 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 04:59 AM
тАО03-21-2006 04:59 AM
Re: Which process it using all my disk I/O ?
If you have glance then sort the process screen by physical io/s. This should put the top user at the top of the list and now the process is identified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 05:12 AM
тАО03-21-2006 05:12 AM
Re: Which process it using all my disk I/O ?
# sar -d 5 50
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 05:26 AM
тАО03-21-2006 05:26 AM
Re: Which process it using all my disk I/O ?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 05:36 AM
тАО03-21-2006 05:36 AM
Re: Which process it using all my disk I/O ?
And to find out the top processes consuming IO bandwidth:
Save as top_io.ksh:
#!/bin/ksh
#
trap 'rm tmp$$' 0 1 2 3
cat << EOF > /var/tmp/tmp$$
process loop {
print proc_proc_id,",",proc_parent_proc_id,",", proc_user_name,",",proc_proc_name,"," ,PROC_DISK_PHYS_IO_RATE
}
EOF
/opt/perf/bin/glance -j 2 -iterations 3 -adviser_only -syntax /var/tmp/tmp$$ 2>/dev/null
Then:
top_io.ksh|sort -t, -nr -k 5,5|head -10|awk -F, '{printf "%7.1f %5d %5d %8s %-30s\n", $5,$1,$2,$3,$4}'
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 08:04 AM
тАО03-21-2006 08:04 AM
Re: Which process it using all my disk I/O ?
- select "o" for options
- edit the following line
Sort key (name/cpu/disk/rss): disk
and the top process is the one consuming the most IO. Jobs-a-good-un
If you want to trace the disk which is being hit the most sar is useful, ... but glance is better. (I am a fan of glance)
glance -u or use "u" option
This shows the disks utilisations of all the disks, and you can see which disk is being hit the most.
Regards
Tim