On AIX 7.1 how to monitor disk IO per user

Hello All

On AIX 7.1 how can I monitor disk IO per user or process?
I can use nmon and see disk usage is often at or near 100% for periods and reports run slow during that time.


Thanks
hairylotsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
AIX by default does not record disk I/O per process.

However, there is a feature called "Workload Manager" which contains such a disk I/O monitoring.

All you have to do is enabling WLM with

smitty wlm > Start/Stop/Update WLM > Start Workload Manager

You don't have to do any configuration, WLM will use its defaults.
Just decide if you want to start it now, at next reboot or both, The latter two options will cause WLM to start with the system, so it will be always active.

Now you can run

ps -ef  -o ruser,pid,ppid,tdiskio,comm |sort  -k4,4n

The 4th column (TDISKIO) will contain the total accumulated blocks of disk I/O for each single process, sorted in ascending order.

Check "man ps" for other fields you might want to specify with the "-o" flag.

Reset the TDISKIO counters by simply stopping and restarting WLM.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.