evtrecv.html
来自「vxworks相关论文」· HTML 代码 · 共 122 行
HTML
122 行
<html><head><!-- /vobs/wpwr/docs/tornado/tools/evtRecv.html - generated by refgen from evtRecv.c --> <title> evtRecv </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado Reference : Tornado Tools</i></a></p></blockquote><h1>evtRecv</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>evtRecv</strong> - receive WindView event data (UNIX) </p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>evtRecv [-o <i>file</i>] [-p <i>port</i>] [-f] [-q] [-r]</pre><p><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This tool receives event data from an instrumented VxWorks target systemand saves the data in a file on the host. This file can then be loadedinto WindView by selecting the <b>Analyze</b> item from the <b>File</b> menuof the main WindView window.<p>The evtRecv tool must be started on the host system prior to enabling eventlogging on the target system from which the event data is to be captured.When invoked, evtRecv binds to a TCP port on the host (by default port 6164,but this can be overridden via the <b>-p</b> option), and awaits a connectionfrom the target system. The routine <b><i>wvEvtLogEnable</i>( )</b> is then invoked on thetarget (either from the VxWorks shell by the user, or from within applicationcode); this establishes a connection with the evtRecv process on the host,and initiates the transfer of event data. Under normal circumstances, theconnection is closed by a subsequent invocation of <b><i>wvEvtLogDisable</i>( )</b>. If,however, the target application generates event data at a rate that exceedsthe network bandwidth, the target system will terminate the event transferautomatically, and evtRecv will print a message warning of target eventbuffer overflow. In either case, unless the <b>-r</b> option has been specified(see below), the evtRecv process on the host will exit when the loggingsession has been terminated.<p></blockquote><h4>OPTIONS</h4><blockquote><p><p><dl><dt><b>-o <i>file</i></b><dd>store the event data in <i>file</i>. If <i>file</i> does not end in <b>.wvr</b>,evtRecv appends this suffix automatically. If <i>file</i> is <b>-</b>, the eventdata is written to standard output, and repetitive receive mode issilently disabled, even if <b>-r</b> is specified. If <b>-o</b> is not present,<b>eventLog.wvr</b> is used by default. (See also the description of the<b>-r</b> option below.)<p><dt><b>-p <i>port</i></b><dd>listen for connections on port <i>port</i>, instead of the default port 6164.Note that it might be necessary to set the port number on the target systemas well; use the VxWorks routine <b><i>wvHostInfoShow</i>( )</b> to display the currentport number setting on the target, and <b><i>wvHostInfoInit</i>( )</b> to change the portnumber.<p><dt><b>-f</b><dd>overwrite the output event data file if it already exists.<p><dt><b>-q</b><dd>quiet mode; do not print informational messages.<p><dt><b>-r</b><dd>repetitive receive mode. When this option is specified, <b><a href="./evtRecv.html#top">evtRecv</a></b> doesnot exit when the event data transfer is complete; instead, it awaits a newconnection from the target. Each event log received in this manner is storedin <i>file</i>.<i>logNo</i>.<b>wvr</b>, where <i>file</i> is the argument given to the <b>-o</b>option (<b>eventLog</b> by default), and <i>logNo</i> is the position of the login question within the sequence of event logs received. This processcontinues until the user terminates the <b><a href="./evtRecv.html#top">evtRecv</a></b> process on the hostby typing the interrupt key (e.g., <b>Ctrl-C</b>) or by sending SIGTERM tothe process. Note that repetitive receive mode is always disabled when theevent stream is sent to standard output, even when <b>-r</b> is specified (seethe description of the <b>-o</b> option above).<p></dl></blockquote><h4>NOTE</h4><blockquote><p><p>The Windows tool is similar in function but is accessed through a GUI. For information see the <i>WindView User's Guide. </i><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./evtRecv.html#top">evtRecv</a></b>, <b><a href="../../vxworks/ref/wvLib.html#top" >wvLib</a></b>, <b><i>wvEvtLogEnable</i>( )</b>, <b><i>wvEvtLogDisable</i>( )</b>, <b>wvHostLib</b>, <b><i>wvHostInfoShow</i>( )</b>, <b><i>wvHostInfoInit</i>( )</b><p><p></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?