This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
operations:documentation.logmonitor_v3 [2016/12/20 04:20] Jim Lovell created |
operations:documentation.logmonitor_v3 [2017/08/14 14:18] Jesse Swan |
||
---|---|---|---|
Line 2: | Line 2: | ||
The new version of the log monitor works as a GUI and as a text-based interface, allowing you to monitor a telescope from a terminal window. It also now keeps a text log of its output, will take the telescope name and input log on the command line and has a few other bug fixes. | The new version of the log monitor works as a GUI and as a text-based interface, allowing you to monitor a telescope from a terminal window. It also now keeps a text log of its output, will take the telescope name and input log on the command line and has a few other bug fixes. | ||
- | The first step is to make sure eRemoteCtrl is recording a log, or that you've started Dave's steam_log script. If you want to use the eRemoteCtrl log but don't know it's name, try <code>ls -lrt /vlbobs/ivs/logs | tail -20</code> and look for a likely named file. | + | The first step is to make sure eRemoteCtrl is recording a log, or that you've started Dave's stream_log script. If you want to use the eRemoteCtrl log but don't know it's name, try <code>ls -lrt /vlbobs/ivs/logs | tail -20</code> and look for a likely named file. |
Usage:<code>pcfs_log_monitor_test.pl [-a <antenna ID [Hb|Ho|Ke|Yg|Ht]>] [-n (no GUI)] [-f <log file name>]</code> | Usage:<code>pcfs_log_monitor_test.pl [-a <antenna ID [Hb|Ho|Ke|Yg|Ht]>] [-n (no GUI)] [-f <log file name>]</code> | ||
* Specifying ''-n'' will start it in the text-based mode | * Specifying ''-n'' will start it in the text-based mode | ||
+ | * Note: this was causing a bug where any file path specified other than /vlbobs/ivs/log/ would result in an error message and program exit. Since I wanted to run this on (e.g.,) /tmp/ke.log I modified /tmp/ to be the default path instead for the script, to change just edit the script located at $which pcfs_log_monitor_test.pl | ||
* The log file name can be specified with a full path but if you just give the file name, the program will look for it in ''/vlbobs/ivs/logs'' | * The log file name can be specified with a full path but if you just give the file name, the program will look for it in ''/vlbobs/ivs/logs'' | ||