# sar -q 5 3
The above command is used to determine the Run Queue and Swap Queue Size.
We can find the number of threads/process waiting in the run queue using the "vmstat" command. But the above would give much more visibility in terms of % of time the run and swap queue was occupied.
runq-sz : Shows average no.of threads present in run queue.
%runocc : Percentage of time the run queue was occupied.
swap-sz : Shows average no.of threads present in the swap queue.
%swapocc : Percentage of time the swap queue was occupied.
The above command is used to determine the Run Queue and Swap Queue Size.
We can find the number of threads/process waiting in the run queue using the "vmstat" command. But the above would give much more visibility in terms of % of time the run and swap queue was occupied.
runq-sz : Shows average no.of threads present in run queue.
%runocc : Percentage of time the run queue was occupied.
swap-sz : Shows average no.of threads present in the swap queue.
%swapocc : Percentage of time the swap queue was occupied.