view distribution/config/commands/agent.properties @ 896:3cc2f2ea31b3

Create VM ClassStat agent and common bundles This commit extracts VM ClassStat data collection from SystemBackend and related classes into a vm-classstat-agent bundle. It also moves the VmClassStatDAO from common-core into a vm-classstat-common bundle that registers the DAO once Storage is available. This also removes the DAO from DAOFactory. This commit also simplifies what's left of JvmStatHostListener since it only handles collecting VmInfo data, and rewrites the corresponding test to better test the VmInfo relevant functionality. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/004998.html
author Elliott Baron <ebaron@redhat.com>
date Mon, 07 Jan 2013 15:51:53 -0500
parents ceb28ef8f9e8
children 6815308bb362
line wrap: on
line source

bundles = thermostat-agent-core-@project.version@.jar, \
          thermostat-web-common-@project.version@.jar, \
          thermostat-web-client-@project.version@.jar, \
          httpcomponents-core.jar, \
          httpcomponents-client.jar, \
          gson.jar, \
          thermostat-osgi-process-handler-@project.version@.jar, \
          thermostat-common-core-@project.version@.jar, \
          thermostat-agent-cli-@project.version@.jar, \
          thermostat-common-command-@project.version@.jar, \
          thermostat-agent-command-@project.version@.jar, \
          thermostat-host-cpu-common-@project.version@.jar, \
          thermostat-host-cpu-agent-@project.version@.jar, \
          thermostat-host-memory-common-@project.version@.jar, \
          thermostat-host-memory-agent-@project.version@.jar, \
          thermostat-vm-cpu-common-@project.version@.jar, \
          thermostat-vm-cpu-agent-@project.version@.jar, \
          thermostat-vm-memory-common-@project.version@.jar, \
          thermostat-vm-memory-agent-@project.version@.jar, \
          thermostat-vm-gc-common-@project.version@.jar, \
          thermostat-vm-gc-agent-@project.version@.jar, \
          thermostat-vm-classstat-common-@project.version@.jar, \
          thermostat-vm-classstat-agent-@project.version@.jar, \
          thermostat-vm-heap-analysis-common-@project.version@.jar, \
          thermostat-vm-heap-analysis-agent-@project.version@.jar, \
          thermostat-killvm-agent-@project.version@.jar, \
          thermostat-thread-collector-@project.version@.jar, \
          thermostat-thread-harvester-@project.version@.jar, \
          thermostat-system-backend-@project.version@.jar, \
          thermostat-gc-remote-collector-common-@project.version@.jar, \
          thermostat-gc-remote-collector-command-@project.version@.jar, \
          thermostat-storage-mongodb-${project.version}.jar, \
          mongo.jar, \
          commons-beanutils.jar, \
          commons-codec.jar, \
          commons-collections.jar, \
          commons-logging.jar, \
          netty.jar

description = starts and stops the thermostat agent

usage = thermostat agent [-d <url> [-u <user> -p <password>]] [-s] [--debug]

options = saveOnExit, dbUrl, username, password, debug

saveOnExit.short = s
saveOnExit.long = saveOnExit
saveOnExit.description = save the data on exit

dbUrl.short = d
dbUrl.long = dbUrl
dbUrl.hasarg = true
dbUrl.required = true
dbUrl.description = connect to the given URL

username.short = u
username.long = username
username.hasarg = true
username.required = false
username.description = the username to use for authentication

password.short = p
password.long = password
password.hasarg = true
password.required = false
password.description = the password to use for authentication

debug.short = v
debug.long = debug
debug.hasarg = false
debug.required = false
debug.description = launch with debug console enabled