fuser

Joel Dudley joel@silverw.com
Fri, 3 Mar 2000 21:54:33 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_005B_01BF855B.0F77F0A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

thanks!!  I did lsof -i :25 and got what I needed.  just wanted to make =
sure tcpserver was using it instead of inetd.

- joel
  ----- Original Message -----=20
  From: Mark Peoples=20
  To: 'plug-discuss@lists.PLUG.phoenix.az.us'=20
  Sent: Friday, March 03, 2000 9:15 PM
  Subject: RE: fuser


  fuser -n tcp 80   for port 80
  =20
  this will spit out  tcp/80:  and then all those processes
  =20
  i'd suggest spitting the output of    fuser -n tcp 80    to a text =
file, then a little script to  split/tokenize/etc etc  for the =
processes, then ps -ef | grep process
    -----Original Message-----
    From: Joel Dudley [mailto:joel@silverw.com]
    Sent: Friday, March 03, 2000 9:16 PM
    To: plug-discuss@lists.PLUG.phoenix.az.us
    Subject: fuser


    Anyone know how to use fuser such that it will show me what is using =
port 25??   =20

    - Joel

------=_NextPart_000_005B_01BF855B.0F77F0A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>thanks!!&nbsp; I did lsof -i :25 and got what I =
needed.&nbsp;=20
just wanted to make sure tcpserver was using it instead of =
inetd.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>- joel</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:hondaman@mainex1.asu.edu" =
title=3Dhondaman@mainex1.asu.edu>Mark=20
  Peoples</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:'plug-discuss@lists.PLUG.phoenix.az.us'"=20
  =
title=3Dplug-discuss@lists.PLUG.phoenix.az.us>'plug-discuss@lists.PLUG.ph=
oenix.az.us'</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, March 03, 2000 =
9:15=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: fuser</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma>fuser -n tcp 80<SPAN=20
  class=3D496021204-04032000>&nbsp;&nbsp; for port =
80</SPAN></FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma><SPAN=20
  class=3D496021204-04032000></SPAN></FONT></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma><SPAN =
class=3D496021204-04032000>this will=20
  spit out&nbsp; tcp/80:&nbsp; and then all those=20
  processes</SPAN></FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma><SPAN=20
  class=3D496021204-04032000></SPAN></FONT></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma><SPAN =
class=3D496021204-04032000>i'd suggest=20
  spitting the output of&nbsp;&nbsp;&nbsp; fuser -n tcp =
80&nbsp;&nbsp;&nbsp; to=20
  a text file, then a little script to&nbsp; split/tokenize/etc =
etc&nbsp; for=20
  the processes, then ps -ef | grep process</SPAN></FONT></FONT></DIV>
  <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
    <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Joel Dudley [<A=20
    =
href=3D"mailto:joel@silverw.com">mailto:joel@silverw.com</A>]<BR><B>Sent:=
</B>=20
    Friday, March 03, 2000 9:16 PM<BR><B>To:</B>=20
    plug-discuss@lists.PLUG.phoenix.az.us<BR><B>Subject:</B>=20
    fuser<BR><BR></DIV></FONT>
    <DIV><FONT size=3D2>Anyone know how to use fuser such that it will =
show me=20
    what is using port 25??&nbsp;&nbsp;&nbsp; </FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT size=3D2>- =
Joel</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_005B_01BF855B.0F77F0A0--