Re: Checking Ports? (fwd)
---------- Forwarded message ----------
Date: Fri, 5 Jun 1998 12:50:21 -0700 (PDT)
From: Marcus Johnson <marcus@hbe.org>
To: John Hasler <john@dhh.gt.org>
Subject: Re: Checking Ports?
Sorry for my brevity and thank you for your answer. I meant ports as in
IP ports. I tried to start a server-type program but it exits and tells
me that port is already in use. This seems very odd to me because I
should be the only one using it. I suspect its still running another copy
of my server. How can I find out and if it is another instance of my
server how can I kill it?
Marcus
On Fri, 5 Jun 1998, John Hasler wrote:
> > Is there a way for a nonSysAdmin to check to see what program is using a
> > particular port? Even if the program is being run by a different user?
>
> Do you mean serial ports?
>
> lsof | grep "/dev/ttyS1" | cut -f1 -d' '
>
> will produce a list of all programs with /dev/ttyS1 open.
>
> John Hasler <john@dhh.gt.org>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: