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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux