how to find time spent in ready queue and wait queue ?

how to find time spent in ready queue and wait queue ?

Post by danism.. » Wed, 24 Jan 2001 00:47:05



Hi,

it's possible to find time spent in CPU over CPU usage.

I want to find time spent in ready queue and wait queue.

regards...

Sent via Deja.com
http://www.deja.com/

 
 
 

1. is formula correct regarding time spent in ready-run queue

Hello,

I'm not unix expert. I would like to find time spent in ready queue and
wait queue. I generate following formula from "sar -q" help. is it
correct ?

ready_queue_time
= (runq-sz) x (ready_queue_occupation_time_in_memory) + (swpq-sz) x
(ready_queue_occupation_time_in_swap)
= (runq-sz) x (%runocc) x (time_interval) + (swpq-sz) x (%swpocc) x
(time_interval)
= (time_interval) [ (runq-sz) x (%runocc) + (swpq-sz) x (%swpocc) ]

and I need wait q. formula.

regards...

Sent via Deja.com
http://www.deja.com/

2. 2.5.1/2.6: apps crash in _XtDefaultWarningMsg()

3. Need a way to measure how many time a process spend in "ready queue"

4. Please Help a SCO newbe!

5. interrupt, task queue and wait queue.

6. trashed services file

7. Waiting for a specific time on SysV msg queue?

8. help needed with ensoniq sound card

9. point solaris print queue to win2000 print queue

10. Remote print queue/queue device definitions

11. Queuing in Linux similar to queue in Microsoft MSMQ or IBM MQ

12. Scsi errors :Commands queued exceeds queue depth, active = 254