Re: xinetd connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Devon Harding wrote:
>
>
> On 8/8/06, *Alexander Dalloz* <ad+lists@xxxxxxxxx
> <mailto:ad+lists@xxxxxxxxx>> wrote:
>
>     Devon Harding schrieb:
>
>     > On 8/8/06, Brian Chadwick <brianchad@xxxxxxxxxxxxxx
>     <mailto:brianchad@xxxxxxxxxxxxxx>> 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


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux