From collectd Wiki
Revision as of 11:34, 16 February 2009 by Octo (talk | contribs) (Created initial page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The TCPConns plugin counts the number of TCP connections to or from a specified port. Typically the connectioins where you specify the local port are incoming connections while the connections where you specify the remote port are outgoing connections.


<Plugin "tcpconns">
  ListeningPorts false
  LocalPort "25"
  RemotePort "25"

Example graphs

Plugin-tcpconns-local.png Plugin-tcpconns-remote.png


  • Linux
    • /proc-file system
  • Mac OS X (possibly also other *BSDs)
    • sysctlbyname(3)