public List<AgentIdentity> getAllAttachedAgents() {
		final List<AgentIdentity> agentIdentities = newArrayList();
		AllocateLowestNumber agentIdentity = (AllocateLowestNumber) checkNotNull(
				ReflectionUtils.getFieldValue(
						getConsoleFoundation().getComponent(ProcessControl.class),
						"m_agentNumberMap"),
				"m_agentNumberMap on ProcessControlImplementation is not available in this grinder version");
		agentIdentity.forEach((object, number) -> agentIdentities.add((AgentIdentity) object));
		return agentIdentities;
	}
Get all attached agent list on this console.

@return agent list
ngrinder-core/src/main/java/net/grinder/SingleConsole.java