?
Solved

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

Posted on 2012-04-09
12
Medium Priority
?
673 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 2000 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Suggested Courses

762 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