Snoop is an inbuilt utility in Solaris Operating systems same like tcpdump in Linux.
To read about tcpdump refer 35 Examples of tcpdump commands in Linux
In case we need to analyze network issue’s in Solaris local zone’s we required to capture a network dump.
Here we have faced network performance issue in a local Zone, to diagnostic it required to run a snoop from Global zone instead of capturing network dump in the local zone.
Capture from the Global zone for a local zone IP. Here 10.111.97.8 is a local zone IP.




 

  • snoop         =       command
  • -d                =       device
  • ixgbe0        =       interface name
  • -o                =       to save as a file
  • src ip          =       for which local zone we need to capture ( we can replace “src” with “from”.)
snoop -d ixgbe0 -o 10.111.11.22_to_app-cluster-scan.pcap src ip 10.111.97.8
snoop -d ixgbe0 -o 10.111.11.22_to_app-cluster-scan.pcap src ip 10.111.97.20

In above commands, we are capturing network dumps for two local zones.
That’s it.
Babin Lonston
Overall 13+ Years of experience in IT field, 7+ years of experience in Linux administration with Virtualization & Cloud technologies. Love documentation and being Numismatics for a long time.

40 examples of tcpdump commands in Linux

Previous article

Understanding Apache Web Server logs

Next article

You may also like

Comments

Leave a reply

Your email address will not be published.

More in Solaris