Display RAW feed data from PHP engines for debuging

To help debug files on disk, here are some simple linux comands that help.

PHPFINA:

Check metadada file feed 149 :

od -i 149.meta
0000000           0           0           5  1437930520

  • 5 is interval
  • 1437930520 is start time in unix epoch

Check dat file:

od -f -j 0 -N 16 149.dat
0000000               0   0.00045226078   0.00074822176    0.0011848678

  • 0 is start time, calculated with unix timestamps as: ((desired time - start time from meta) * 4)
  • 16 is number of data points to show after start time: (num * 4)
  • The response gives the value of the data points for the selected start time.
pb66's picture

Re: Display RAW feed data from PHP engines for debuging

This is really useful.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.