Query live connections?

Shinichi Maruyama marya at st.jip.co.jp
Wed Jan 6 18:32:21 MST 2010


> I'm trying to graph the number of folks we have connected at any given
> time, and running ps, lsof or netstat and parsing with a script is kinda
> clunky... Does anyone know a better way?

I use net-snmp package to count some daemons.
I'm sorry I don't use it for rsync daemons, but maybe some help.

http://www.net-snmp.org/docs/man/snmpd.conf.html

###############################################################################
# Process checks.
#
#  The following are examples of how to use the agent to check for
#  processes running on the host.  The syntax looks something like:
#
#  proc NAME [MAX=0] [MIN=0]
#
#  NAME:  the name of the process to check for.  It must match
#         exactly (ie, http will not find httpd processes).
#  MAX:   the maximum number allowed to be running.  Defaults to 0.
#  MIN:   the minimum number to be running.  Defaults to 0.

-- 
marya at st.jip.co.jp



More information about the rsync mailing list