feedme - event driven data sink client for the Unidata LDM |
feedme [−vx] [−l logdest] [−h remote] [−p pattern] [−f feedtype] [−t timeout] [−T TotalTimeo] |
This program gets selected meteorological data as it becomes available. It is part of the Unidata Local Data Management system (LDM). It calls the LDM server at remote and requests that data whose identifying key matches pattern be sent. As data arrives at the server, qualifying data products are passed along to this program. On receipt, this program writes the data to standard output. If connection is lost to the server, the program repeats its request for data. |
−v |
Verbose flag. If present, the log will contain a line for each product that was received. |
||
−x |
Requests that debugging information also be printed. Details about each FEEDME RPC. |
−l logdest |
Log to logdest. One of ’’ (system logging daemon), ’-’ (standard error stream), or file logdest. Default is the standard error stream if the process has a controlling terminal (i.e., the process isn’t a daemon); otherwise, either the LDM log file or the system logging daemon (execute this program with just the option ’-?’ to determine which). |
−h remote |
Requests that that the LDM server on remote send along data. Default is "localhost". |
−p pattern |
Requests that data be sent along that matches pattern. The default is ‘.*’. |
−f feedtype |
Requests that data that originates in a feed type of type feedtype be sent along. The default is any feed type. |
−t timeout |
Sets the RPC timeout on FEEDME requests to "timeout" seconds. |
−T TotalTimeo |
Give up attempting to make a connection after TotalTimeo seconds. Any partially built up client connnection is destroyed and we start over. |
Although this program was written as a coding example, it is useful in its own right. The command |
xterm -sb -title "Denver Warnings" -e ~ldm/bin/feedme -h myhost -f PPS -p "^W..... KDEN" |
Will create a scrolling window titled "Denver Warnings" to which warnings and watches from KDEN will be printed as they are received. |
ldmd(1), ldm(1) |
Error messages and log messages are written to the log file. |