Capture network dump using snoop in Solaris.

0 0
0 0
Read Time:1 Minute
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.
Capture network dump using snoop in Solaris. 1

About Author

Babin Lonston

Overall 14+ Years of experience in the IT field, currently working as a Senior Linux administration with Virtualization & Cloud. Being numismatist for a long time.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Leave a Comment

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

We promise not to spam you, and we don't usually send more than one email a week.

You have Successfully Subscribed!