取消
顯示結果 
搜尋替代 
您的意思是: 

請問RUNQ的檢查方式?

請問RUNQ的檢查方式?

請問除了collect這個指令, 還有其他的指令可以check RUNQ嗎?
6 回覆

請問RUNQ的檢查方式?

以下都可看到 run queue



1. uptime

2. w

3. top



The load average numbers give the number of jobs in the RUN QUEUE for the last 5 seconds, the last 30 seconds, and the last 60 seconds. The Mach factor is a variant of the load average, given for the same intervals; the closer its value to 0, the higher the load.

請問RUNQ的檢查方式?

yes..這三種方式都可以看到load average

但是我想看即時的RUNQ....目前發現只有collect可以看到...any comment?

請問RUNQ的檢查方式?

Hi David,



Please see the command "vmstat 5" for reference.



# vmstat 5

procs memory pages intr cpu

r w u act free wire fault cow zero react pin pout in sy cs us sy id



Process information:



r Number of threads that are running or are runnable.



Best regards,

Richard.

請問RUNQ的檢查方式?

Hi Richard,



vmstat 的 r 與 top 的 load averages 並不相同, 請用 vmstat 與 top 同時去 run, 就可以發現數據不同

請問RUNQ的檢查方式?

Hi Eric,



>> Please see the command "vmstat 5" for reference.

> vmstat 的 r 與 top 的 load averages 並不相同, 請用 vmstat 與 top 同時去 run, 就可以發現數據不同



Yes. So that it just for reference. It should be gotten a (large) run_Q in CPU resources if the average 2~3 running threads/per_CPU on Tru64 UNIX.



Thank you,

Richard Kuo.



請問RUNQ的檢查方式?

Hi, Richard

我man了一下, 這兩者的似乎不盡相同, 另外也用這兩個command同時觀察同一個系統, 發現數值不同(RUNQ=0.x, r=4).





RUNQ=Number of processes in the run queue.

AVG5,30,60=Load average over the last 5, 30, and 60 seconds.





r=Number of threads that are running or are runnable

w=Number of threads that can be interrrupted that are waiting

u=Number of threads that canot be interrrupted that are waiting



Rgds,

David