Query live connections?

Tomasz Ciolek tmc at vandradlabs.com.au
Thu Jan 7 01:10:02 MST 2010


Would 'netstat -antp | grep rsync' get the information youre after?

Cheers
Tomasz
 
On Wed, Jan 06, 2010 at 02:06:56PM -0800, Erich Weiler wrote:
> Hi All,
> 
> I was hoping someone would know the answer to this question I had...
> I know the rsync daemon has the "Max connections" module, which
> works great.  However, I was wondering if there was a good way for
> me to:
> 
> 1: Query rsync to get the number of live connections it thinks it has?
> 2: Or better yet, how does rsync itself check for the number of connections?
> 
> 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?
> 
> Thanks in advance!!
> 
> -erich
> 
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Tomasz M. Ciolek	
*******************************************************************************
 tmc at vandradlabs dot com dot au 
*******************************************************************************
   GPG Key ID:		0x41C4C2F0
   GPG Key Fingerprint: 3883 B308 8256 2246 D3ED  A1FF 3A1D 0EAD 41C4 C2F0
   Key available on good key-servers
*******************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100107/eda59bdf/attachment.pgp>


More information about the rsync mailing list