---------- Forwarded message ----------
Date: Fri, 5 Jun 1998 12:50:21 -0700 (PDT)
From: Marcus Johnson <[EMAIL PROTECTED]>
To: John Hasler <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
> 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to