Server traffic Anomaly Troubleshooting step (view process traffic)

Source: Internet
Author: User

In the work often encounter server traffic anomalies, from time to moment the traffic is very high, today is a server intranet port traffic has reached 50Mbps within a short period, below is my method and steps to troubleshoot the problem, record.

1. Use Iftop-p to determine which process has a larger flow rate

Or use Iptraf,jnettop Ask the reader to do their own research

It can be seen that the api-node3:58218 process flows most. The next step is to determine the corresponding process PID based on the port number

2. Determine the application process PID corresponding to the port number

# lsof-i:58218 or NETSTAT-ATUNP |grep 58218

The PID was confirmed to be 25701. The next step is to determine which process depends on the PID

3. Determine the process name

Determine the name of the process based on the process PID

# Cat/proc/25701/cmdline



From for notes (Wiz)



Server traffic Anomaly Troubleshooting step (view process traffic)

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.