code: private String getGangliaConfig(String cmdLine, Node ganglia,
  			String attributeName, String defaultValue) {
  		if (cmdLine == null) {
  			return selectParameterFromNode(ganglia, attributeName, defaultValue);
  		} else {
  			return cmdLine;
  		}
  	}
docs: Gets a configuration parameter for Ganglia. First checks if it was given
  on the command line arguments. If it is not available, it looks for the
  value in the XML node.
  
  @param cmdLine
  command line value for this attribute
  @param ganglia
  the XML node
  @param attributeName
  name of the attribute
  @param defaultValue
  default value if this attribute cannot be found
  @return the string value of the specified attribute