Dark theme | Light theme

June 29, 2010

Monitoring Remote Java Applications with jstatd

To monitor a remote Java application with VisualVM is easy when we use jstatd. We need to start jstatd on the remote machine, make a connection from VisualVM to the remote machine and we can monitor all running Java applications.

Sample security policy file:

grant codebase "file:${java.home}/../lib/tools.jar" {



We can run jstatd with:

$ jstatd