On Mar 16, 2015, at 9:07 AM, Christof Hanke <christof.ha...@rzg.mpg.de> wrote:

> 
> use rxdebug <fileserver> -peers | grep "port 7001" | awk ... to get the 
> ip-addr of clients known to this fileserver

This can be optimized a bit by combining -peers with some of the little-known 
rxdebug filter options.  For instance, you could specify -noconns to filter out 
connections (which are redundant for this purpose); this also helps conserve a 
small amount of network and cpu resources.  Also, if you specify -onlyport 
<port>, rxdebug will only show peers connected on the specified port, e.g.:

rxdebug <fileserver> -peers -noconns -onlyport 7001 | awk ...

Regards,
--
Mark Vitale
mvit...@sinenomine.net

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to