cancel
Showing results for 
Search instead for 
Did you mean: 
jeesshnasree
Flight Engineer
Flight Engineer
  • 4,852 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
  • 4,833 Views

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
2 Replies
  • 4,834 Views

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.

 

0 Kudos
jeesshnasree
Flight Engineer
Flight Engineer
  • 4,799 Views

Hi @rajeshlukose ,

 

 thanks for share valuable information.

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