Print

Print


Hi Jeremy,

I attached an e-mail message that I sent you back in January that 
includes five attachments for
five MYA utilities (four command line utilities and MyaViewer). These 
files contain short
descriptions of these utilities and some trivial examples of using them. 
Back then the utilities
were not yet installed on clon machines, but now you can use the command 
line tools as hpsrun
user on clonpc18 or clonpc19 desktops. Here is an example on how to get 
the values
for a single variable "MMSENTRY" for last 10 weeks.

hpsrun@clonpc18> myget -cMMSENTRY -b -10w
2015-03-25 16:06:19 << Network disconnection >>
2015-03-25 16:06:55 400
2015-03-26 07:35:11 950
2015-04-10 09:05:47 500
2015-04-16 07:53:51 950
2015-04-16 08:10:44 500
2015-04-16 08:30:34 950
2015-04-16 08:30:44 500
2015-04-16 09:11:09 600
2015-04-16 09:40:42 500
2015-04-16 09:40:47 700
2015-04-16 10:42:37 500
2015-04-29 16:23:37 << Network disconnection >>
2015-04-29 16:32:02 400
2015-04-29 16:35:28 500
hpsrun@clonpc18>

You can also sepcify the range explicitly like this:

hpsrun@clonpc18> myget -cMMSENTRY -b '2014-4-1 14:00:00' -e '2015-4-15 15:00:00'
...


Hovanes.


On 5/1/2015 9:33 PM, Maurik Holtrop wrote:
> Hello Jeremy,
>
> You may want to ask Hovanes for more details. I don’t think Hovanes 
> “listens in” on the hps-software, so you probably want to ask him 
> directly.
>
> What I understand of MYA is summarized here: 
> https://halldweb1.jlab.org/wiki/index.php/EPICS_archiving_with_MYA
> It is a MySQL storage for the streams of EPICS data. The page refers 
> to a C++ API, but that webpage is behind the Jlab firewall so I cannot 
> simply look at it. There are some commandline tools, but again, those 
> docs are walled off.
>
> Best,
> Maurik
>
>
>
>
>
>> On May 1, 2015, at 8:30 PM, McCormick, Jeremy I. 
>> <[log in to unmask] <mailto:[log in to unmask]>> wrote:
>>
>> Hi,
>>
>> Can anyone send to the list a few sample MIA commands for dumping 
>> stored EPICS information by a date range?
>>
>> I have no idea how to use that tool and maybe a few examples could help.
>>
>> Thanks.
>>
>> --Jeremy
>>
>> ########################################################################
>> Use REPLY-ALL to reply to list
>>
>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
>
> ------------------------------------------------------------------------
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1