Linux Environment Grab Command

Source: Internet
Author: User

Sometimes some interface call problem is not good location or log is not detailed enough, then we often choose to grasp the packet to see the detailed communication process. Grab the package has the relevant software, here says how to grasp directly in the environment. If we now have a TOMCAT server deployed under Linux and the port is 8088, then I will execute the following command when I log in to the environment through the root user:

Tcpdump-i any-x tcp-s0 Port 8088-w wlf1.cap

If you feel that the interface is finished then press Crtl+c to end the grab bag, and then catch the packet removed garbled:

Strings Wlf1.cap > Wlf1.txt

Then just open the wlf1.txt to see the results of the clutch, of course, grab the bag of time by your own grasp.

Linux Environment Grab Command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.