Try netstat's "-p" option.

David


On Mon, Mar 17, 2008 at 7:58 PM, Hasnain <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
>  Is there anyway how to find which process is holding a tcp port in linux?
>  Say for instance, i checked
>
>  netstat -a |grep ###. but i dont know which process has opened or hold that
>  port currently. Is there anyway to find out this?
>
>
>  Thanks in advance,
>
>  Hasnain
>  --
>  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
>  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to