[Orca-dev] Orcallator.se changes and additions

Dmitry Berezin dberezin at surfside.rutgers.edu
Tue May 18 11:15:53 PDT 2004


Jon,

> I can test the proc code if you want.

Here you go (test program is attached).

By default, it will use 10 seconds as the interval, but you can specify any
other interval on the command line (se proctest.se <seconds>).

The program will print out the results of counting processes and will print
one or more '*', signifying the magnitude of the difference, if the results
are different. Since it runs two counting loops sequentially, you might see
some single digit differences, which is normal, but eventually, you should
get the _huge_ difference that demonstrates the problem I've described
earlier.
 
Here is the sample output (I just ran it on my system). Notice the results
at the end.

****************************************

NP - pp.nproc
C1 - pp.index$ process count
C2 - first_proc/next_proc process count

Interval is 10 second(s)

    Time     NP     C1     C2
13:50:08    411    411    411
13:50:19    412    412    411 *
13:50:29    412    412    412
13:50:40    412    412    412
13:50:51    412    412    412
13:51:01    424    424    424
13:51:12    413    413    413
13:51:23    415    415    415
13:51:33    418    418    418
13:51:44    418    418    418
13:51:55    417    417    416 *
13:52:06    412    412    412
13:52:16    412    412    412
13:52:27    412    412    412
13:52:38    412    412    412
13:52:48    412    412    413 *
13:52:59    412    412    412
13:53:10    412    412    412
13:53:20    412    412    413 *
13:53:31    412    412    412
13:53:42    414    414    414
13:53:52    416    416    415 *
13:54:03    413    413    415 *
13:54:14    414    414    414
13:54:24    414    414    414
13:54:35    415    415    415
13:54:46    415    415    415
13:54:57    415    415    415
13:55:07    417    417    417
13:55:18    419    419    419
13:55:29    415    415    415
13:55:39    415    415    415
13:55:50    415    415    415
13:56:01    426    426    426
13:56:11    413    413    413
13:56:22    413    413    413
13:56:33    411    411    411
13:56:43    411    411    411
13:56:54    411    411    411
13:57:04    416    416    100 ***
13:57:15    414    414    415 *
13:57:26    414    414    412 *

****************************************

  -Dmitry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proctest.se
Type: application/octet-stream
Size: 1349 bytes
Desc: not available
Url : /pipermail/orca-dev/attachments/20040518/1d18dec7/attachment.obj 


More information about the Orca-dev mailing list