Commons Daemon
  1. Commons Daemon
  2. DAEMON-248

jsvc does not expose java.rt.vmArgs monitor information for Java Attach API

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2
    • Fix Version/s: None
    • Component/s: Jsvc
    • Labels:
      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)

      { System.out.println("> " + m.getName() + " " + m.getValue()); }
      1. Test.java
        2 kB
        Elias Ross

        Activity

        Elias Ross created issue -
        Elias Ross made changes -
        Field Original Value New Value
        Attachment Test.java [ 12520309 ]
        Mladen Turk made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Elias Ross
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development