[OpenAFS] Metrics on the cell

Mark Vitale mvitale@sinenomine.net
Mon, 16 Mar 2015 14:12:40 +0000


--Apple-Mail=_1F41BFC5-8A17-45DA-BFBC-4DEA71779955
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


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

>=20
> 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
mvitale@sinenomine.net

--Apple-Mail=_1F41BFC5-8A17-45DA-BFBC-4DEA71779955
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJVBuTXAAoJECQB9O5MipHICUYP/3IHgOKSS4O+CiCTDOUEtImA
963skGvNJcy/CXeEGBlxA/9mCDgl9GHNerOdVml59ZNXi0VXBzIpdwTsFjFEgvca
sm99I4STjsyBrYVpIRcQOMaZOnv+/Zsk++kBSiEvRHSdxIwngU08dWEOZYOEowhm
Y0YPu/xjfGUV8ZX55wCycdDsmtsApln2g2oOKz1hnFpstfLt2VTBW6NpfNCz56I6
gcn68ytdpdujd5Q42Jgk/afdAkpKYrYbFH9J3WF0x3dppLIcfesIuRsJHRuRq+Ua
Gs78yTYnKTw6ZfVyhjzNCLnujmmZV5rysz92b+C8lyrK+urBvh3vP0sqgaqtFbSl
6O4as0qXc6jG7NPhn7+/Nr5AWss3TWq28+TFKMmqe0rIDxgguFj1YTKuGFWANUJV
wltEMFr4abGgmBzkeZkwGqjV4MPWCVQkgIl40rHs+DcXkdIHNCE/3mQMkMhIG5+A
wvJvdEQs5B17/Q++VDHFwnCjG1nJsFwtipTV5tQxJWwgm7KHbV6ChjdUasFm8vYc
A+bN77MsxFbcsqOrfsyFdelS/7k4Evu5D901q0GaKxuYlHhaBvRNZ1b4TRORmPga
J//MmnlZXvhNJE5xjHU3XCLeWfY2V8lxCaegWL2xdNDMlzJcshmsymciVhsOKfzJ
+kdBZA8EQFNUmOdRlYAQ
=zsGr
-----END PGP SIGNATURE-----

--Apple-Mail=_1F41BFC5-8A17-45DA-BFBC-4DEA71779955--