Got it

Running the lsof -i Command to Query the Process That Uses the Current Port

484 0 10 0 0
  1. Log in to the Linux operating system as the root user.
  2. Run the lsof -i: XXX command. In the command, XXX indicates the port number.
    The process using the current port is displayed. In the following command output, port 8380 is used by the PID 16779 process.
    ivscmc@linux:~> lsof -i:8380
    COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
    java    16779 ivscmc  152u  IPv6 18089709      0t0  TCP *:cruise-update (LISTEN)
    java    16779 ivscmc  153u  IPv6 18089710      0t0  TCP linux:cruise-update->linux:9120 (ESTABLISHED)
    java    16779 ivscmc  184u  IPv6 18089843      0t0  TCP linux:cruise-update->linux:9111 (ESTABLISHED)
    java    16779 ivscmc  252u  IPv6 18090247      0t0  TCP linux:cruise-update->linux:9130 (ESTABLISHED)
    ivscmc@linux:~> java    16779 ivscmc  153u  IPv6 18089710      0t0  TCP linux:cruise-update->linux:9120 (ESTABLISHED

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.