onstat -g qst command: Print wait options for mutex and condition queues
Use the onstat -g qst command to display the wait statistics for mutex queues and condition queues (queues of waiters for a mutex or a condition).
The QSTATS configuration parameter must be set to 1
to
enable the collection of statistics. For more information, see QSTATS configuration parameter.
Example output
Output description
- name (string)
- Name of the mutex or condition resource being waited for
- nwaits (decimal)
- Number of times this resource was waited for
- avg_time (decimal)
- Average time spent waiting (in microseconds)
- max_time (decimal)
- Maximum time spent waiting (in microseconds)
- avgq (decimal)
- Average length of the queue
- maxq (decimal)
- Maximum length of the queue
- nservs (decimal)
- Number of times this resource was acquired
- avg_time (decimal, microsecond)
- Average time the resource was held per acquisition (in microseconds)