xinetd connections
Jeroen van Meeuwen
kanarip at kanarip.com
Wed Aug 9 14:50:35 UTC 2006
Devon Harding wrote:
>
>
> On 8/8/06, *Alexander Dalloz* <ad+lists at uni-x.org
> <mailto:ad+lists at uni-x.org>> wrote:
>
> Devon Harding schrieb:
>
> > On 8/8/06, Brian Chadwick <brianchad at westnet.com.au
> <mailto:brianchad at westnet.com.au>> wrote:
> >
> >>
> >> Devon Harding wrote:
> >> > Is there a way I can find out how many xinetd connections are
> in use?
> >> >
> >> > -Devon
> >> netstat -a -p -A inet
> >
> > How would I get a round number of total connections?
>
> Do a bit of piping output through other tools like grep and wc, or
> awk?
>
> Alexander
>
>
>
> Any utils out there that will do this?
>
> -Devon
>
Yes, called 'the shell'.
You could use some command similar to 'netstat -anp | grep xinetd' and
pipeline this through 'wc -l'.
The complete command would be:
# netstat -anp | grep xinetd | wc -l
Kind regards,
Jeroen van Meeuwen
--
Jeroen van Meeuwen, LPIC-1, MCP
http://www.kanarip.com/
C6B0 7FB4 43E6 CDDA D258 F70B 28DE 9FDA 9342 BF08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060809/a61ed221/attachment-0001.sig>
More information about the fedora-list
mailing list