At some time, you may need to monitor your server trough your SSH access. We assume you have a direct connection to your remote server host. If you're using a gateway, this works too, you just have to configure the right ports forwarding.
Here is how to monitor your server through a SSH tunnel:
- On server host, run
jstatdwith the privileges of the nuxeo's user:
- On your SSH connection, configure a local “dynamic” application-level port forwarding:
jvisualvmon your local host and in the network options, enable the manual proxy settings and configure a socks proxy:
- Now in
jvisualvm, add a remote host for the
You should get the list of Java processes ran by Nuxeo's user remotely.
- Identify Nuxeo's Tomcat and launch a connection.
In the given
jstat command line, we reference the Java security configuration file
jstat.permissions. Here is its content: