Hi Alan, Robbin, On Tue, Jun 19, 2018 at 1:53 PM, Robbin Ehn <robbin....@oracle.com> wrote: > Hi, > > On 06/18/2018 05:56 PM, Alan Bateman wrote: >> >> On 16/06/2018 18:23, Thomas Stüfe wrote: >>> >>> : >>> >>> >>> Is that by design? >>> >> It's pluggable. The two built-in vmid formats are the pid and pid@host for >> local and remote respectively. I don't recall any discussion here about >> identifying an application by name. I assume there would at least be issues >> with uniqueness. > > > I believe this question comes from the fact that jcmd can use a main class > instead of a pid. There are several discrepancies between various j > executables. >
Yes, exactly. Since I am more at home with jcmd, I was surprised by the different semantics, especially since both parameters are termed "vm id". I would have not been surprised at all (or, only pleasantly so :) had jstack allowed to connect to multiple VMs too. ..Thomas > /Robbin > >> >> -Alan