[lug] port in use

Hugh Brown hugh at vecna.com
Wed Jun 26 10:10:21 MDT 2002


fuser on solaris is pretty brain dead, it doesn't know what to do with
the fuser port/tcp trick

Oh well.  I'll keep looking

Hugh


On Wed, 2002-06-26 at 12:00, Paul Walmsley wrote:
> On 25 Jun 2002, Hugh Brown wrote:
> 
> > What's a portable way to find out if a port is in use from a shell
> > script?
> >
> > The output from netstat  on solaris and linux is fairly different.
> 
> incidentally, that fuser trick should be cross-platform, the output should
> be consistent, and it should come standard on most all solaris and linux
> (and irix, and ...) distributions.
> 
> 
> - Paul





More information about the LUG mailing list