source: trunk/man/arm4_control.1 @ 704

Revision 614, 3.9 KB checked in by dcarter, 4 years ago (diff)

see #111 - Build beta3

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