public String getAgentPidProperties(String startMode) {
		checkNotNull(home);
		Properties properties = home.getProperties("pid");
		if ("agent".equalsIgnoreCase(startMode)) {
			return (String) properties.get("agent.pid");
		} else {
			return (String) properties.get("monitor.pid");
		}
	}
Get the agent pid in the form of string.

@param startMode agent or monitor
@return pid
ngrinder-core/src/main/java/org/ngrinder/infra/AgentConfig.java