snoop — Capture and Inspect Network Packets

Synopsis

/usr/sbin/snoop [-aCDNPqrSvV][-t [r | a | d]][-c maxcount][-d device]
  [-i filename][-n filename][-o filename][-p first [, last]]
  [-s snaplen][-x offset [, length]][expression]

Description

Use the snoop command to capture packets from the network and display their contents. snoop uses both the network packet filter and streams buffer modules to provide efficient capture of packets from the network. You can either display captured packets as they are received or save them to a file for later inspection.

Note

New options have been added to the snoop command in the Solaris 8 release to accommodate ...

Get Solaris™ 8 System Administrator's Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.