How to I find which processes is using particular port Num

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default How to I find which processes is using particular port Num

    Hi All,
    I would like to find out which process is using particular port
    number.

    Is there anything like that or not?
    Thanks in-advance.

    With regards
    Sastry


    sastry Guest

  2. Similar Questions and Discussions

    1. Daemon proc run on a port, kill daemon and cannot restart on same port for 10 minutes.
      Unix is AIX 4.3 The daemon is a license manager which runs for an application. Killing the daemon is fine. (using the 'kill -9 <pid>')...
    2. unkillable processes causes?
      Hello, What are possible reasons for a process not being kill(1)-able in Solaris (or Unix in general)? (Especially SIGKILL.) Doing a quick...
    3. child processes
      hello all, I am working on Sparc OS version 5.8. I have a code which is sth like while(i < N) { ... do some processing in c++ to create file...
    4. Unkillable processes?
      My firewall is running sarge, which I upgraded from woody about a month and a half ago, but this problem appears to be an ongoing issue that carried...
    5. Kproc Processes
      I know that kproc process of PID 516 is the wait process, but there are several other kproc processes on the single-processor system. Can anyone...
  3. #2

    Default Re: How to I find which processes is using particular port Num

    In article <beju2l$j33$1@newshost.mot.com>, sastry <sastry@motorola.com> wrote:
    >Hi All,
    > I would like to find out which process is using particular port
    >number.
    Install "lsof" if it's not already on your system.

    --
    Barry Margolin, [email]barry.margolin@level3.com[/email]
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    Barry Margolin Guest

  4. #3

    Default Re: How to I find which processes is using particular port Num

    sastry wrote:
    > Hi All,
    > I would like to find out which process is using particular port
    > number.
    >
    > Is there anything like that or not?
    > Thanks in-advance.
    >
    > With regards
    > Sastry
    >
    >
    You don't mention what OS you're using.
    For linux, look for lsof.

    HTH

    dbtid Guest

  5. #4

    Default Re: How to I find which processes is using particular port Num

    sastry wrote:
    > Hi All,
    > I would like to find out which process is using particular port
    > number.
    >
    > Is there anything like that or not?
    > Thanks in-advance.
    eg: fuser -n tcp 23

    Lorinczy Zsigmond Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139