Monitoring the rmiregistry

S

silarri

Hi everybody,

I would like to know if there is some tool that allows to monitor an
rmiregistry. I am interested in collecting information such as the
number of RPC calls performed, the number of lookups, etc. over a
period of time.

In the case of monitoring the number of remote invocations, I could do
it "by hand", by inserting code at the appropriate remote objects in
order to register the number of communications in a static variable...
But I would prefer a solution where I can avoid to hard-code this.
Thanks in advance for any suggestion,

Sergio
 
E

Esmond Pitt

silarri said:
Hi everybody,

I would like to know if there is some tool that allows to monitor an
rmiregistry. I am interested in collecting information such as the
number of RPC calls performed, the number of lookups, etc. over a
period of time.

Start it with -J-Djava.rmi.server.logCalls=true and save the output.
 
S

silarri

Could you please give me some more light about how to do this?

I mean, how can I log information about remote communications from what
it is written in a socket?

Thanks in advance,

Sergio

you could override the rmi socket factory and add logging statements
in
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top