myarmdelete
myarmdelete -- delete tool
The myarmdelete command line tool is used to delete application or transaction instance data.
Command line options
Usage:
myarmdelete [options] [name][:part] [name2][:part2] ...
- name:part, name2:part2
- specifies the name(s) to be deleted. If transaction entity is
selected names have to be specified in the form
<appName>:<tranName>. For details about specifying application and/or transaction names read the section "Application and transaction names".
Options
In addition to the listed options below, the myarmdelete command supports standard options described in appendix "Standard options" and the constraint options in appendix "Constraints options".
Entity selection options
With one of the following entity selection option an entity is selected for deleting. If a name is omitted all instances of the appropriate entity are deleted. Otherwise only the instances with the name(s) provided are deleted.
- -a, --apps
- selects application instances to be deleted.
- -t, --trans
- selects transactions instances to be deleted.
- -u, --users
- selects users to be deleted.
- -s, --systems
- selects system addresses to be deleted.
Other options
- --all
- selects all instances of the selected entities to be deleted.
- -d, --defs
- deletes also the definition data of the selected entities.
Examples
The myarmdelete command can be used in many ways. If you want to delete all queries created by our SQLite instrumentation use the following command for the transactions
myarmdelete -t "SQLite:SQLite query"
and the following command for the applications
myarmdelete -a SQLite
If you want to clean up your whole database use
myarmdelete --defs --all
deleting all (--all) instances as well as all definitions (--defs).
See Also
myarmoptions, myarmdefinition,
myarmquery, myarmconfig