If I run lparstat on an AIX LPAR on a JS22 blade, I don't see the "app" field:
# lparstat
System configuration: type=Shared mode=Uncapped smt=On lcpu=4 mem=4096MB
psize=4 ent=0.20
%user %sys %wait %idle physc %entc lbusy vcsw phint
----- ----- ------ ------ ----- ----- ------ ----- -----
72.9 19.7 0.1 7.4 0.00 1.0 1.4 219822533 267118
I'd like to see the "app" field. The "app" value tells me my "available physical processors (app) in the shared pool" stat's.
Normally,
I would change the LPAR properties via the HMC and tick the "Allow
performance information collection" box. However, I couldn't find
something like this in LPAR properties on the JS22.
Here's the solution
On VIOS on the JS22 blade:
- Create a text file with the following contents:
$ cat myfile
name=mylpar1,allow_perf_collection=1
- Run the following command to change to the LPARs attributes.
$ lssyscfg -r lpar -F name,allow_perf_collection
myvios,0
mylpar1,0
$ chsyscfg -r lpar -f myfile
$ lssyscfg -r lpar -F name,allow_perf_collection
myvios,0
mylpar1,1
On the LPAR, run lparstat now and verify that you can see the app field in the output:
$ lparstat
System configuration: type=Shared mode=Uncapped smt=On lcpu=4 mem=4096MB psize=4 ent=0.20
%user %sys %wait %idle physc %entc lbusy app vcsw phint
----- ----- ------ ------ ----- ----- ------ --- ----- -----
72.6 19.8 0.1 7.5 0.00 1.0 1.4 3.96 224016812 270939