[OpenAFS] Monitoring AFSClient

Harald Barth haba@kth.se
Thu, 08 Mar 2012 09:38:09 +0100 (CET)


> I tried "fs listcells" which tells a error if the service is not
> running. Or is there a more reliable way to check the status?

The only reliable test of a service is to use it. I.e. to read
or write a file. If you just want to know if there is an AFS
client, try rxdebug to port 7001 (for OpenAFS).

$ rxdebug localhost 7001
Trying 127.0.0.1 (port 7001):
Free packets: 130, packet reclaims: 0, calls: 309, used FDs: 64
not waiting for packets.
0 calls waiting for a thread
1 threads are idle
Done.

$ rxdebug localhost 7001 -v
Trying 127.0.0.1 (port 7001):
AFS version:  OpenAFS 1.4.14 built  2011-06-06 

Harald.