--- On Mon, 25/1/10, Dhirendra Singh <[email protected]> wrote:
From: Dhirendra Singh <[email protected]>
Subject: [LinuxVadaPav] Find Port number
To: "linux group" <[email protected]>
Date: Monday, 25 January, 2010, 6:20 PM
Hi Friends,
how to find port number if i know PID of Process
i don't have root access.
Please Help
Thanks and Regards,
Dhirendra Singh
Mob. 09769534313
------------------------------------------------------------------------------
Hi,
Simply run the below command as LVU or Super User:
netstat -antp | grep LIST | grep 15573 (where 15573 is your PID)
In my eg it show java (JBOSS AS running)
tcp 0 0 :::8080 :::*
LISTEN 15573/java
-Mubeen
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/
[Non-text portions of this message have been removed]