Running snoop to check the network traffic

Running snoop to check the network traffic. In this example, I’m generating an output file named /tmp/networkfile, recording everything that’s coming from on port 80/TCP

root@solaris:~ # snoop -o /tmp/networkfile port 80 and tcp
Using device /dev/e1000g0 (promiscuous mode)

Listening a specific network interface

root@solaris:~ # snoop -d e1000g0 -o /tmp/networkfile
Using device /dev/e1000g0 (promiscuous mode)