02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

etherfind<br />

This command can be used on many UNIX systems to watch all traffic on a<br />

network. You must have root access to execute etherfind. For example, to<br />

monitor traffic between mars and phobos from a third machine, enter the<br />

following:<br />

# etherfind between mars phobos<br />

Using interface le0<br />

icmp type<br />

lnth proto source destination src port dst port<br />

60 tcp mars phobos 1022 login<br />

60 tcp phobos mars login 1022<br />

60 tcp mars phobos 1022 login<br />

...<br />

etherfind displays the packet length, the protocol (for example, TCP, UDP),<br />

the source and destination machine names, and the source and destination<br />

ports.<br />

netstat<br />

This command displays network status reports. The -r option displays the<br />

network routing tables. This is useful when gateways are used to access the<br />

target. In the following example, this node sends packets for 91.0.10.34<br />

through gateway vx210:<br />

% netstat -r<br />

Routing tables<br />

Destination Gateway Flags Refcnt Use Interface<br />

91.0.10.34 vx210 UG 0 0 le0<br />

Target-Server Problems<br />

■<br />

Check Back-End Serial Port.<br />

If you use a WDB Serial connection to the target, make sure you have connected<br />

the serial cable to a port on the target system that matches your target-agent<br />

configuration. The agent uses serial channel 1 by default, which is different from<br />

the channel used by VxWorks as a default console (channel 0). Your board’s ports<br />

may be numbered starting at one; in that situation, VxWorks channel one<br />

corresponds to the port labeled “serial 2.”<br />

■<br />

Verify Path to VxWorks Image.<br />

The target server requires a host-resident image of the VxWorks run-time system.<br />

By default, it obtains a path for this image from the target agent (as recorded in the<br />

target boot parameters). In some cases (for example, if the target boots from a local<br />

62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!