Solved

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

Posted on 2012-04-09
12
654 Views
Last Modified: 2012-06-21
Hello
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?

Sham
0
Comment
Question by:mohet01
  • 6
  • 6
12 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37826549
Hi,

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

filemon
ipcs
netpmon
procmon
proctree
trace
topas
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

lswpar

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.


wmp
0
 

Author Comment

by:mohet01
ID: 37826867
Yes, We are looking for 6.1 IBM WPAR.

What is the command to get the Disk metrics of that WPAR, sitting in WPAR?
Sham
0
 

Author Comment

by:mohet01
ID: 37826869
What is TL4 in AIX 6.1 TL4?
Sham
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37826870
iostat

... if you have at least AIX 6.1 TL 4
0
 

Author Comment

by:mohet01
ID: 37826876
For disk metrics, Do we have an api that can be used to get info from WPAR?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37826877
Technology Level 4,  one of the major OS Update Packages, available from IBM Fix Central (if you're owning a license).

http://www-933.ibm.com/support/fixcentral/
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37826919
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:

http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.prftools%2Fdoc%2Fprftools%2Fprftools07.htm
0
 

Author Comment

by:mohet01
ID: 37826926
Hello
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
Sham
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37826948
Command: iostat
API: libperfstat

Resources:

- Fix Central for OS updates: http://www-933.ibm.com/support/fixcentral/
- Infocenter for all about AIX: http://pic.dhe.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.doc/doc/base/aixinformation.htm
0
 

Author Comment

by:mohet01
ID: 37827022
Hello
As you said libperfstat/iostat,
Do they provide disk usage metrics for the WPAR from where we are running the command/api?
Sham
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37827031
iostat - yes

libperfstat - I think so, but please test.
0
 

Author Closing Comment

by:mohet01
ID: 38109457
thanx
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now