Solved

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

Posted on 2012-04-09
12
657 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
External Hard Drives - Vmware 6.0 5 82
delete-remove 14 65
Windows 2012 STD Updates Issue 15 25
Standalone converter (Shrinking process) 4 55
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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.
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…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

867 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

18 Experts available now in Live!

Get 1:1 Help Now