How to get Disk metrics sitting in WPAR (AIX)?

What is the command to get the Disk metrics of that WPAR, sitting in WPAR?
What is the command to get the OS resource parameters of that WPAR, sitting in WPAR?

Who is Participating?

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

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.


I think you're emphasizing IBM AIX WPARS?

Since AIX 6.1 many performance tool work from inside a WPAR.

iostat had been disallowed, but since AIX 6.1 TL4 this restriction is removed.

These commands work in AIX 6.1/7.1 from inside a WPAR by displaying WPAR specific information

vmstat (limited)

These commands work as well and will display information pertinent to the WPAR:

hostname, hostid, ifconfig -l/-a, mount, ps, uname

There is a WPAR-specific command


It must be issued from the global environment and will give some useful information. See "man lswpar" for information about the various flags.

On the other hand, quite a lot of commands don't work in a WPAR due to insufficient access to the resources, be it virtual or real.

ioo - does not function in a WPAR
netstat - many flags are not supported: c,C,g,m,M,P,v,Z
no - does not function in a WPAR, except for "no -a"
schedo, vmo, wlpar commands - do not function in a WPAR.

Many commands issued from the global environment accept "-@ wparname" to display WPAR  specific information, while the same commands issued from the WPAR using this flag will fail.


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
mohet01Author Commented:
Yes, We are looking for 6.1 IBM WPAR.

What is the command to get the Disk metrics of that WPAR, sitting in WPAR?
mohet01Author Commented:
What is TL4 in AIX 6.1 TL4?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.


... if you have at least AIX 6.1 TL 4
mohet01Author Commented:
For disk metrics, Do we have an api that can be used to get info from WPAR?
Technology Level 4,  one of the major OS Update Packages, available from IBM Fix Central (if you're owning a license).
There is the perfstat library, contained in "bos.perf.libperfstat".

I don't think it contains WPAR specific disk metric interfaces,
but general disk metrics should work, even from within a WPAR.

See the docs below:
mohet01Author Commented:
What is the best resource link to know,
In AIX 6.1 TL4, how to get Disk/CPU/Mem/interface metrics of that WPAR sitting in WPAR?

We are open to know, if command or API available
Command: iostat
API: libperfstat


- Fix Central for OS updates:
- Infocenter for all about AIX:
mohet01Author Commented:
As you said libperfstat/iostat,
Do they provide disk usage metrics for the WPAR from where we are running the command/api?
iostat - yes

libperfstat - I think so, but please test.
mohet01Author Commented:
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

From novice to tech pro — start learning today.