| 1 | .\" Copyright (c) 2005-2008 David Carter <dcarter@arm4.org> and others. |
|---|
| 2 | .\" All rights reserved. This program and the accompanying materials |
|---|
| 3 | .\" are made available under the terms of the Eclipse Public License v1.0 |
|---|
| 4 | .\" which accompanies this distribution, and is available at |
|---|
| 5 | .\" http://www.eclipse.org/legal/epl-v10.html |
|---|
| 6 | .TH "arm4_control" 1 "July 2008" "arm4.org" "ARM 4 System Commands" |
|---|
| 7 | .SH NAME |
|---|
| 8 | arm4_control \- ARM 4 agent control program |
|---|
| 9 | .SH SYNOPSIS |
|---|
| 10 | .B arm4_control |
|---|
| 11 | \fI\-\-help|\-h\fR |
|---|
| 12 | .br |
|---|
| 13 | .B arm4_control |
|---|
| 14 | \fI\-\-version|\-V\fR |
|---|
| 15 | .br |
|---|
| 16 | .B arm4_control |
|---|
| 17 | [\fI\-\-config|\-C config_file\fR] [\fIcommands...\fR] |
|---|
| 18 | .SH DESCRIPTION |
|---|
| 19 | The |
|---|
| 20 | .B arm4_control |
|---|
| 21 | program controls the |
|---|
| 22 | .B arm4_daemon |
|---|
| 23 | program. |
|---|
| 24 | .SH OPTIONS |
|---|
| 25 | .TP |
|---|
| 26 | \fB\-h\fR, \fB\-\-help\fR |
|---|
| 27 | display the command line options. |
|---|
| 28 | .TP |
|---|
| 29 | \fB\-V\fR, \fB\-\-Version\fR |
|---|
| 30 | display the program version and exit. |
|---|
| 31 | .TP |
|---|
| 32 | \fB\-C\fR, \fB\-\-Config\fR \fIconfig_file\fR |
|---|
| 33 | specifies a configuration file for this instance instead of using the default |
|---|
| 34 | configuration file. The default configuration file |
|---|
| 35 | \fI/etc/arm4.conf\fR is used if none is specified. |
|---|
| 36 | .SH COMMANDS |
|---|
| 37 | .TP |
|---|
| 38 | \fBhelp\fR, \fBhelp commands\fR |
|---|
| 39 | show all available commands. |
|---|
| 40 | .TP |
|---|
| 41 | \fBhelp <command>\fR |
|---|
| 42 | show options for the command. |
|---|
| 43 | .TP |
|---|
| 44 | \fBarchive\fR |
|---|
| 45 | backup the current database to the backup directory. Unless specified in |
|---|
| 46 | the configuration file, the main backup directory is |
|---|
| 47 | \fI/var/lib/arm4/data/backup\fR. |
|---|
| 48 | .TP |
|---|
| 49 | \fBcollect\fR, \fBcollect status\fR |
|---|
| 50 | show the current collection state. |
|---|
| 51 | .TP |
|---|
| 52 | \fBcollect yes\fR, \fBcollect on\fR |
|---|
| 53 | turn collection on. |
|---|
| 54 | .TP |
|---|
| 55 | \fBcollect no\fR, \fBcollect off\fR |
|---|
| 56 | turn collection off. |
|---|
| 57 | .TP |
|---|
| 58 | \fBcheckpoint\fR |
|---|
| 59 | perform a database checkpoint operation |
|---|
| 60 | .TP |
|---|
| 61 | \fBremove\fR |
|---|
| 62 | remove the shared memory regions and semaphores, but leave the databases intact. |
|---|
| 63 | This is normally done when recovering from catastrophic failures. |
|---|
| 64 | .TP |
|---|
| 65 | \fBstatus\fR |
|---|
| 66 | show if an instance of the \fBarm4_daemon\fR is running. |
|---|
| 67 | .TP |
|---|
| 68 | \fBstop\fR |
|---|
| 69 | stop the current \fBarm4_daemon\fR instance. |
|---|
| 70 | .TP |
|---|
| 71 | \fBwipe\fR |
|---|
| 72 | remove the current database, shared memory regions, and semaphores. This is |
|---|
| 73 | normally done when upgrading versions. |
|---|
| 74 | .TP |
|---|
| 75 | \fBapplication\fR |
|---|
| 76 | display currently defined applications with their application ids. |
|---|
| 77 | .TP |
|---|
| 78 | \fBapplication \fIapp_id\fR |
|---|
| 79 | display collection parameters for the specified application. |
|---|
| 80 | .TP |
|---|
| 81 | \fBapplication \fIapp_id\fB transactions\fR |
|---|
| 82 | displays the transactions definitions and corresponding transaction ids associated with the specified application. |
|---|
| 83 | .TP |
|---|
| 84 | \fBtransaction\fR |
|---|
| 85 | displays the current transaction definitions. |
|---|
| 86 | .TP |
|---|
| 87 | \fBtransaction \fItran_id\fR |
|---|
| 88 | displays the configuration for a specific transaction id. |
|---|
| 89 | .TP |
|---|
| 90 | \fBtransaction \fItran_id\fB trace all\fR |
|---|
| 91 | trace all transaction instances. |
|---|
| 92 | .TP |
|---|
| 93 | \fBtransaction \fItran_id\fB trace none\fR |
|---|
| 94 | turn tracing off. |
|---|
| 95 | .TP |
|---|
| 96 | \fBtransaction \fItran_id\fB trace \fIn\fR |
|---|
| 97 | trace every \fIn\fRth transaction instance. |
|---|
| 98 | .TP |
|---|
| 99 | \fBtransaction \fItran_id\fB trace \fIn\fB[s|S]\fR |
|---|
| 100 | trace one transaction instance every \fIn\fR tenths of seconds. |
|---|
| 101 | .TP |
|---|
| 102 | \fBtransaction \fItran_id\fB trace application\fR |
|---|
| 103 | honor application trace requests. |
|---|
| 104 | .TP |
|---|
| 105 | \fBtransaction \fItran_id\fB trace noapplication\fR |
|---|
| 106 | ignore application trace requests. |
|---|
| 107 | .TP |
|---|
| 108 | \fBtransaction \fItran_id\fB trace default\fR |
|---|
| 109 | use application default settings. |
|---|
| 110 | .TP |
|---|
| 111 | \fBexport definitions\fR |
|---|
| 112 | exports application, metric, and transaction definitions in xml format to stdout. |
|---|
| 113 | .TP |
|---|
| 114 | \fBexport all\fR |
|---|
| 115 | exports the full database including definitions and instance data in xml format to stdout. |
|---|
| 116 | .TP |
|---|
| 117 | \fBimport \fIfilename\fR |
|---|
| 118 | imports an exported database in xml format from the file. |
|---|
| 119 | .SH "REPORTING BUGS" |
|---|
| 120 | Report bugs at <http://www.arm4.org> |
|---|
| 121 | .SH COPYRIGHT |
|---|
| 122 | Copyright \(co 2005\-2008 David Carter <dcarter@arm4.org> and others. |
|---|
| 123 | .P |
|---|
| 124 | All rights reserved. This program and the accompanying materials |
|---|
| 125 | are made available under the terms of the Eclipse Public License v1.0 |
|---|
| 126 | which accompanies this distribution, and is available at |
|---|
| 127 | http://www.eclipse.org/legal/epl-v10.html |
|---|
| 128 | .SH "SEE ALSO" |
|---|
| 129 | .LP |
|---|
| 130 | .BR arm4_daemon (1), |
|---|
| 131 | .BR arm4_report (1), |
|---|
| 132 | .BR arm4_dump (1), |
|---|
| 133 | .BR arm4.conf (5) |
|---|