Use the shortcut key "START key + R", or open start, search "run", and run cmd.
Enter the tasklist command to obtain the name, PID, session, and memory usage of the current process.
For example, the current two QQ's PID is 4616,4618. Firefox's PID is 4544.
Run the netstat command. netstat has many usage options. Here, netstat-An and netstat-O are used.
The information obtained through netstat-O is the most accurate, because the network connection established by each program and the peer address can be clearly located.
For example, PID 4544 indicates that the Firefox browser is conducting a network session. PID 4616 is the PID of the previous QQ, indicating that QQ is communicating with the campus network INTRANET 10.15.52.157. In addition, the port code HTTP is equivalent to 80, and HTTPS is equivalent to 443.
/*
* *****
* Http://blog.csdn.net/xyydyyqf
*/