Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.0.2
-
None
-
None
Description
Run a process using jsvc.exec
Then use the Attach API to locate the process.
Note that java.rt.vmArgs are not available. See the attached program.
monitoredhost = MonitoredHost.getMonitoredHost(new HostIdentifier((String) null));
set = monitoredhost.activeVms();
... iterate
MonitoredVm monitoredvm = monitoredhost.getMonitoredVm(new VmIdentifier(s));
List<Monitor> l = monitoredvm.findByPattern(".*");
for (Monitor m : l)