Is this a GlassFish v2 or v3 question?
If v2, then list-domains/list-instances should display restart required.
Currenctly v3 does not display this information but you should be able
to see it in server.log.
BTW: there is an bug opened in v3 to display restart message for
dotted-name commands (get, set and list).
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5835
HTH,
Jane
Russ Petruzzelli wrote:
> Is there a way to know if a particular subcommand of asadmin requires
> restarting the instance or not?
>
> For example:
> ./asadmin set
> server.http-service.http-listener.http-listener-1.acceptor-threads=32
>
> Thanks,
> Russ