java mission control - Connect to a remote Linux JVM running under different user

I have Apache NiFi 1.2.0 running on a RHEL7, remote VM. Following is the list of running JVMs :bash-4.2$ ./jps1043 RunNiFi1062 NiFi14810 JpsOn my local Windows 7 machine, I have jdk1.8.0_121 and I am trying to connect the Java Mission Control utility to the 'NiFi' JVM.Some facts :The remote RHEL JVMs that I wish to monitor run with a user 'nifi'Since I am a 'sudoer', I use my own username 'ojoqcu' to SSH(via Putty) to the remote VM and then a 'sudo su - , su nifi' or simply 'sudo su nifi'. Then, I become the 'nifi' user without providing a pass...Read more