Process ID) [link to Port ID] [Id[pid]

Source: Internet
Author: User

1. First, declare that the PID is not the port ID, but rather the meaning of the process ID session number.

2. So, what is the process number?

The idea of collecting netizens is:

The process number is the unique identifier of the system assigned to a process. PID is the identity identifier of each process, and the program run system will automatically assign to the process a unique PID. After the process terminates, the PID is reclaimed by the system and may be continued to the new running program.

3. In-depth understanding of the relationship between:

A program one port;

  A port can have multiple processes;

(Incidentally: a process can have multiple threads (sharing the system resources of a process to a multi-channel program within a program, running in parallel to conserve CPU resources, etc.))

Generally, a program corresponds to a process.

In general, browsers are multiple processes, and other programs are a process.

How to view PID and port number in 4.windows system?

View PID:

Ans1. Cmd>netstat-ano

Ans2. Cmd>tasklist

Ans2.ctrl+shift+esc (Task Manager) > Services

To view the PID and port:

Ans1:cmd>netstat-ano

5. Summary:

One network application corresponds to one port, one to multiple processes, and one to multiple threads;

Process ID) [link to Port ID] [Id[pid]

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.