IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2012-11-02T10:16:06Z by armink
30 Posts

Pinned topic ryo example for pool usage?

‏2012-10-23T14:18:37Z |
Hello there (esp. Nigel),

I'm trying to do some basic pool monitoring for both system shared pool (pool no 0) and "my" shared pool (any other pool no. if lpar is not in pool no. 0)
and want a command line tool to report pool sizes and pool usage.
Both values for both types of pools are available via libperfstat in perfstat_cpu_total and perfstat_partition_total.
Surprisingly all those values constantly grow, there is no CPU "equivalent" like x cpus used of y in pool. It looks like the way if doing things works with timebase_last and calculating differences and such,
but I could not figure out a big picture behind this.

Is there any (usable) information available? Maybe some demo code too?

Any help appreciated :-)
Updated on 2012-11-02T10:16:06Z at 2012-11-02T10:16:06Z by armink
  • puvichakravarthy
    55 Posts

    Re: ryo example for pool usage?

    ‏2012-11-01T17:34:20Z  in response to armink
    You might want to try perfstat_processor_pool_util( ) api which was added in recent release in the perfstat library.
    • armink
      30 Posts

      Re: ryo example for pool usage?

      ‏2012-11-02T10:16:06Z  in response to puvichakravarthy
      Thanks for the information. This looks promising... but unfortunately perfstat_processor_pool_util seems only to be available in AIX 7.1.
      It's not defined in libperfstat.h of AIX 6.1 TL7 SP5 :-(