myarmimport
myarmimport -- imports ARM data from a database or XML file
The myarmimport command line tool is used to import any ARM data from a database or a XML file into the currently configured database.
Command line options
Usage:
myarmimport [options] import-url [appName][:tranName] \ [appName2][:tranName2]
- import-url
- URL-like database specification from where to import. See "Database URL notation".
- appName:tranName, appName2:tranName2
- If specified, only import instances and/or definitions of ARM applications which match this application and/or transaction name. For details about specifying application and/or transaction names read the section "Application and transaction names".
In addition to the options listed below, the myarmimport command supports standard options described in appendix "Standard options" and the constraint options in appendix "Constraints options".
Entity selection options
With one or more of the following entity selection options entities are selected for importing. If a name is omitted, all instances of the appropriate entity are imported. Otherwise only the instances with the name(s) provided are imported.
- -a, --apps
- selects application instances to be imported.
- -t, --trans
- selects transactions instances to be imported.
- -m, --metrics
- selects system addresses to be imported.
- -u, --users
- selects users to be imported.
- -s, --systems
- selects system addresses to be imported.
- -r, --rts
- selects real time statistics (RTS) data to be imported.
- -e, --rte
- selects real time events to be imported.
- -l, --logs
- selects log messages to be imported.
- -c, --cfg
- selects runtime configuration to be imported.
Other options
- --all
- selects all ARM data to be imported.
- -d, --defs
- selects only ARM definition data to be imported. Without this option both definition and instance data are imported.
Usage example
The following example shows the output of an import of some
transaction data from a XML file called chain.xml
in
the current directory.
ruppert@debian:/opt/myarm$ myarmimport -t xml:///chain.xml Imported entities: Applications: Definitions 1 (Properties 0), Instances 0 (Properties 0) Transactions: Definitions 3 (Properties 0), Instances 160 (Properties 0) Metrics : Definitions 0, Instances 0 Systems : 0 Users : 0
The output of the myarmimport program gives an overview which and how many entities (definitions and instances) were imported.
See Also
myarmoptions
,
myarmexport
,
myarmdefinition
,
myarmquery
, myarmconfig
, myarmmisc