If you mean JBoss CLI in domain mode, the command to list servers on a host is:

bash

/host=master:read-children-names(child-type=server)

That returns server names such as server-one, server-two, and server- three.

Example

bash

[domain@localhost:9990 /] /host=master:read-children-names(child-type=server)

Typical output:

bash

{
    "outcome" => "success",
    "result" => [ "server-one", "server-three", "server-two" ]
}

Related commands

  • To list registered hosts, use :read-children-names(child-type=host) in domain mode.
  • To inspect a specific server group, older guidance suggests checking server config attributes or using a server-group listing command where available.

Notes

  • This applies to domain mode management; standalone mode does not have a host/server list in the same way.
  • If by “jjs” you meant a different tool, the exact command may be different.