Performance Guide
Chapter 3, Tuning CPU resources

Examining the run queue

Examining the run queue

Run queue statistics can be seen with sar -q on single processor systems or mpsar -q on multiprocessor systems:

   23:59:44 runq-sz %runocc swpq-sz %swpocc
   23:59:49     1.7      98     1.5      36
   23:59:54     1.0      63     1.0      31
   23:59:59     1.0      58     1.0      49
   

Average 1.3 74 1.2 39

runq-sz indicates the number of processes that are ready to run (on the run queue) and %runocc indicates the percentage of time that the run queue was occupied by at least one process.

See ``Identifying CPU-bound systems'' for a discussion of how to identify if your system is CPU bound.