Hi 

I would like to see how the number of concurrent jobs in cron queue changes. I 
have located the piece of code I would be interested in: 
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/cron/cron.c#2057

Can you please tell me how could I get the current value of qp->nrun?

I tried:
dtrace -n 'pid27208:cron:: '
dtrace: description 'pid27208:cron:: ' matched 324 probes
CPU ID FUNCTION:NAME
0 55937 main:37c
0 55938 main:380
0 55939 main:384
0 55940 main:388
0 55941 main:38c
0 55942 main:390
0 55943 main:394
A lot more... 

but I do not get the functions names...

Is DTRACE the correct tool to get such values?

Any help would be greatly appreciated!

Many thanks for your time
Piotr


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to