Highlighted
Flight Engineer
Flight Engineer
  • 695 Views

how to check running socket port numbers on LINUX OS with process id

Jump to solution

Hi All,

acutally i dont have root access  and need to check the JVM socket ports with process id status .

 

I am waiting for your valuable reply .

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
  • 676 Views

Re: how to check running socket port numbers on LINUX OS with process id

Jump to solution

If you want to check the java process running in the server. use below command

ps -ef|grep java

Above command will give the process id of the java application running on the server.

Use lsof -p processid

This will list socket/port number which the java application is listening.

 

View solution in original post

0 Kudos
Reply
Loading...
2 Replies
Highlighted
  • 677 Views

Re: how to check running socket port numbers on LINUX OS with process id

Jump to solution

If you want to check the java process running in the server. use below command

ps -ef|grep java

Above command will give the process id of the java application running on the server.

Use lsof -p processid

This will list socket/port number which the java application is listening.

 

View solution in original post

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 642 Views

Re: how to check running socket port numbers on LINUX OS with process id

Jump to solution

Hi @rajeshlukose ,

 

 thanks for share valuable information.

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.