Monitor virtual processors with the onstat-g glo command

Use the onstat-g glo command to display information about each virtual processor that is running and to display cumulative statistics for each virtual-processor class.

The onstat -g glo command provides the following types of information:

  • How many session threads that are running
  • How often threads switch, yield, or need to spin many times to obtain a latch or resource
  • The virtual processor classes that are running and how much time each class spent running
  • The number of virtual processors that are running for each virtual processor class
  • The virtual processors that are running and how much time each virtual processor spent running
  • The efficiency of each virtual processor

Use the onstat -g rea command to determine whether you need to increase the number of virtual processors.