Solved

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

Posted on 2012-04-09
12
664 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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 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…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

737 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