<commit_before>JMS Send Command
================
Headless (command-line) application that sends lines of input
from stdin or command-line to JMS.

Run with "-h" to see available command-line options
to configure JMS URL, topic, ...


Send messages from command-line to annunciator
----------------------------------------------
JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic TALK -type alarm


Trigger alarm server and GUI to re-load the configuration
---------------------------------------------------------
JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic ALARM_CLIENT -type alarm -text CONFIG


Use for EDM 'put' logging
-------------------------
EDM can log PV writes to a 'put' log, see EDM manual for details:
  http://ics-web.sns.ornl.gov/edm/edmUserManual/index.html#pv-put-logging
 
To test, first try to run
 
 JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic PUT -type put -edm_mode

and paste lines like this one to its std-input:

user="fred" host="ics-srv02" ssh="::ffff:192.168.3.11 54425 fdf8:f53e:61e4::18:192.168.3.11 22" dsp="localhost:16.0" name="RFQ_Vac:Pump1:Pressure" old="1.000000" new="2.000000"

If that turns into a corresponding JMS message, wrap the JMSSender... command
into a shell script 'edm_put_logger.sh' and use that as the EDM put logger:

 export EDMPUTLOGGER=edm_put_logger.sh
 
 
 

<commit_msg>replaced put references with write<commit_after>JMS Send Command
================
Headless (command-line) application that sends lines of input
from stdin or command-line to JMS.

Run with "-h" to see available command-line options
to configure JMS URL, topic, ...


Send messages from command-line to annunciator
----------------------------------------------
JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic TALK -type alarm


Trigger alarm server and GUI to re-load the configuration
---------------------------------------------------------
JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic ALARM_CLIENT -type alarm -text CONFIG


Use for EDM 'write' logging
-------------------------
EDM can log PV writes to a 'write' log, see EDM manual for details:
  http://ics-web.sns.ornl.gov/edm/edmUserManual/index.html#pv-put-logging
 
To test, first try to run
 
 JMSSender -url tcp://ics-srv02.sns.ornl.gov:61616 -topic WRITE -type write -edm_mode

and paste lines like this one to its std-input:

user="fred" host="ics-srv02" ssh="::ffff:192.168.3.11 54425 fdf8:f53e:61e4::18:192.168.3.11 22" dsp="localhost:16.0" name="RFQ_Vac:Pump1:Pressure" old="1.000000" new="2.000000"

If that turns into a corresponding JMS message, wrap the JMSSender... command
into a shell script 'edm_write_logger.sh' and use that as the EDM put logger:

 export EDMPUTLOGGER=edm_write_logger.sh
 
 
 


{'fraction_non_alphanumeric': 0.19804134929270947, 'fraction_numerical': 0.05368153790351832, 'mean_word_length': 2.7320703653585925, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5450695', 'n_tokens_mistral': 1005, 'n_tokens_neox': 881, 'n_words': 286}