IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 191 and Version 192 of ippToPsps


Ignore:
Timestamp:
Mar 9, 2012, 2:27:44 PM (14 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps

    v191 v192  
    107107With a stripe chosen, {{{loader.py}}} obtains a list of box_ids (each stripe is sub-divided into boxes). It works its way through each box, processing all pending items.
    108108== metrics.py ==
     109
     110{{{metrics.py}}} is a program that collects useful statistics for a particular config and reports then to the screen, while also inserting data into the [wiki:Czartool czartool] database. The ippMonitor czartool page for ippToPsps displays much of this information, complete with time series plots showing the progress of processing.
     111
     112{{{metrics.py}}} takes a second argument which is a time (in hours). If this is provided the program will sleep then run again after that time.
     113
     114An example output from {{{metrics.py}}} is shown below.
     115
     116{{{
     117./run.sh metrics.py someConfig
     118}}}
     119
     120And will produce a response similar to this:
     121
     122{{{
     123                ippToPsps loading summary
     124
     125Time now                                2011-09-29 11:54:33
     126Loading epoch                           2011-08-16
     127DVO label                               LAP.ThreePi.20110809
     128
     129+----+------------------+---------------+-------------------+------------------+----------------+
     130|Type| batches per hour | last 24 hours | per day this week | total detections | last published |
     131+----+------------------+---------------+-------------------+------------------+----------------+
     132| P2 |              0.0 |           283 |             329.4 |       1855730051 |  4.6 hours ago |
     133| ST |              0.0 |         12936 |            4539.0 |        185807608 |  3.7 hours ago |
     134+----+------------------+---------------+-------------------+------------------+----------------+
     135
     136+----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+
     137|Type|  DVO  |          processed|loaded_to_datastore|      loaded_to_ODM|       merge_worthy|             merged|  deleted_datastore|    deleted_dxlayer|      deleted_local|
     138|    |       | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  | Pend  Succ  Fail  |
     139+----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+
     140| P2 |  8140 |       8101    39  |    2  8099        | 2041  6049     9  |       6049        |  313  5736        |       5736        | 5736              |                   |
     141| ST | 32309 |      31684   625  |    5 31679        |24617  7062        |       7062        | 7062              |                   |                   |                   |
     142+----+-------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+
     143
     144}}}
    109145== cleanup.py ==
    110146== pollodm.py ==