Solved

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

Posted on 2012-04-09
12
662 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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
 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

740 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