28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A–10<br />

SHMIF_DUMPBUS(1) NetBSD General Comm<strong>and</strong>s Manual SHMIF_DUMPBUS(1)<br />

NAME<br />

shmif_dumpbus -- examine shmif bus contents<br />

SYNOPSIS<br />

shmif_dumpbus [-h] [-p pcapfile] busfile<br />

DESCRIPTION<br />

<strong>The</strong> shmif_dumpbus utility examines <strong>the</strong> bus <strong>of</strong> an shmif(4) E<strong>the</strong>rnet interface.<br />

<strong>The</strong> most useful feature is converting <strong>the</strong> bus to <strong>the</strong> pcap(3) file<br />

format for later examination. shmif_dumpbus itself is limited to displaying<br />

only very basic information about each frame.<br />

shmif_dumpbus accepts <strong>the</strong> following flags:<br />

-h Print bus header only <strong>and</strong> skip contents.<br />

-p pcapfile Convert bus contents to <strong>the</strong> pcap(3) format <strong>and</strong> write <strong>the</strong><br />

result to pcapfile. <strong>The</strong> file - signifies stdout.<br />

EXAMPLES<br />

Feed <strong>the</strong> busfile contents to pcap:<br />

$ shmif_dumpbus -p - busfile | tcpdump -r -<br />

SEE ALSO<br />

pcap(3), shmif(4), tcpdump(8)<br />

CAVEATS<br />

shmif_dumpbus does not lock <strong>the</strong> busfile <strong>and</strong> is best used for post-mortem<br />

analysis <strong>of</strong> <strong>the</strong> bus traffic.<br />

NetBSD 5.99.48 January 12, 2011 NetBSD 5.99.48

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

Saved successfully!

Ooh no, something went wrong!