rqi subcommand

The rqi subcommand displays information about run queues on the system.

Format

rqi [ -mrq | queue | slot ]

Parameters

Item Description
-mrq Displays information about all mrq nodes in the system.
queue Specifies the effective address for the run queue structure specified by the effective address.
slot Specifies the run queue structure you want to display.

If the rqi subcommand is run without any parameters, a summary line for each run queue in the system is displayed. If the rqi subcommand is run with parameters, a specific run queue structure or the mrq nodes in the system are displayed.

Other

rqa

Examples

The following is an example of how to use the rqi subcommand:

KDB(0)> rqi -mrq
primary_grq.................. 2171400
run_queue_max_local.......... 00000003  run_queue_max_global......... 00000080
num_nodes_onl................ 00000001  nodep @ 11EA710

MRQ_NODE @ 2171000
my_ndx........... 0000 rq_start_ndx..... 0000 lbolt........ 0006
active_rqs....... 0004 max_rqs.......... 0004
rqs_mask..... F0000000 00000000 00000000 00000000
S2_threshold..... 0000 num_S2........... 0001 S3_threshold. 00000180
thread_count..... 00A3 load......... 00000003 rq_slot.... @ 21711C8
sched_tid........ 00000003 reaper_tid....... 0000060D
zstart........... 0 zfinal........... E200D000
pref_S2id........  0
S2_stealable.....  0 0 0 0
S2id.............  0 0 0 0
num_S1........... 04
pref_S1id........ 00
S3_anysteals.....  0
S2_load.......... FFFFFFF4  balanced
S1_loads......... 00000000 00000000 00000000 00000000
KDB(0)>

KDB(0)> rqi
 RQ Node CPUs First Threads   stl  ustl any S1stl S2stl S3stl Busy Load

  0   0    1     0       38     0     0   0   0.0   1.1   0.0   0   0.0
  1   0    1     1       44     0     0   0   0.0   0.5   0.0   0   0.0
  2   0    1     2       42     0     0   0   0.0   1.0   0.0   0   0.0
  3   0    1     3       39     0     0   0   0.0   0.5   0.0   0   0.0
128   0    4     0        0     0     0   0                     0   0.0
KDB(0)> rqi 3  //slot number from RQ column in rqi subcommand
RUN_QUEUE @ 2173000
runrun............. 00000000 rq_stealable....... 00000000 S2_stealable... 00
rq_unstealable..... 00000000 rq_load............ 0000000F rq_S2id........ 00
rq_my_node_ndx......... 0000 rq_S1id................ 0003
rq_my_ndx.............. 0003 rq_my_node_offset...... 0003
rq_cpu_start_ndx....... 0003 rq_cpu_node_offset..... 0003
rq_active_cpus......... 0001 rq_max_cpus............ 0001
rq_next_cpu............ 0000
rq_cpus_mask....... 80000000 00000000 00000000 00000000
rq_thread_count.... 00000027 rq_node_pointer.... 2171000
rq_busy_ticks.......... 0000 rq_busy................ 0000 rq_tload........ 0000
rq_best_run_pri/fixed.. FF/0 run_queue_lock..... 0
placement_load..... F
rq_steals_this_tick.... 0000 0000 0000 0000
rq_steals_this_second.. 0000 0000 0000 0000
rq_steal_smooth.... 00000000 00000000 00000083 00000000
dispct 007B7334 S0_misses 0000B6EB S1_misses 0000B6EB S2_misses 00000000
rq_lbolt............... 0052 rq_curthread_band...... 0000 stealing_active... 00
run_mask[0]........ 00000000 00000000 00000000 00000000
run_mask[4]........ 00000000 00000000 00000000 00000000
shared_S0.......... 00000000 00000000 00000000 00000000
shared_S1.......... 00000000 00000000 00000000 00000000
shared_S2.......... E0000000 00000000 00000000 00000000
thread_run....... @ 2173108
stealing_blocked... 00000000 00000000 00000000 00000000
banded_load[00]............ 00000000 00000000 00000000 00000000
banded_load[04]............ 00000000 00000000 00000000 00000000
banded_load[08]............ 00000000 00000000 00000000 00000000
banded_load[12]............ 00000000 00000000 00000000 00000000
banded_load_avg[00]........ 00000000 00000000 00000000 00000000
banded_load_avg[04]........ 00000000 00000000 00000000 00000000
banded_load_avg[08]........ 00000000 00000000 00000000 00000000
banded_load_avg[12]........ 00000000 00000000 00000000 00000000
KDB(0)>