| 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_daemon" 1 "July 2008" "arm4.org" "ARM 4 System Commands" |
|---|
| 7 | .SH NAME |
|---|
| 8 | arm4_daemon \- ARM 4 collection agent |
|---|
| 9 | .SH SYNOPSIS |
|---|
| 10 | .B arm4_daemon |
|---|
| 11 | \fI\-\-help|\-h\fR |
|---|
| 12 | .br |
|---|
| 13 | .B arm4_daemon |
|---|
| 14 | \fI\-\-version|\-V\fR |
|---|
| 15 | .br |
|---|
| 16 | .B arm4_daemon |
|---|
| 17 | [\fI\-\-verbose|\-v\fR] [\fI\-\-debug|\-d\fR] |
|---|
| 18 | [\fI\-\-config|\-C config_file\fR] |
|---|
| 19 | [\fI\-\-stats|\-s\fR] [\fI\-\-off|\-o\fR] |
|---|
| 20 | .SH DESCRIPTION |
|---|
| 21 | The |
|---|
| 22 | .B arm4_daemon |
|---|
| 23 | program collects \fIARM 4\fR measurement data from the \fIARM 4\fR libraries |
|---|
| 24 | and saves the measurements in a local database. While there will normally |
|---|
| 25 | be many instances of the instrumented applications, there will typically be |
|---|
| 26 | only one instance of the |
|---|
| 27 | .B arm4_daemon |
|---|
| 28 | running at a time. |
|---|
| 29 | .SH CONFIGURATION |
|---|
| 30 | Configuration options are set in the configuration file. The default |
|---|
| 31 | configuration is \fI/etc/arm4.conf\fR, although this can be overridden using |
|---|
| 32 | the \fI\-\-config\fR command line option. See \fBarm4.conf\fR(5) for more |
|---|
| 33 | information. |
|---|
| 34 | .SH DATAFILES |
|---|
| 35 | The |
|---|
| 36 | .B arm4_daemon |
|---|
| 37 | program uses the Berkeley database to store transaction information. Rather |
|---|
| 38 | than a single file, this database uses separate files fore each database |
|---|
| 39 | table. For simplicity, all database files are stored in a single |
|---|
| 40 | directory. Therefore specifying a database or database archive location |
|---|
| 41 | is really specifying the directory in which the files are stored. |
|---|
| 42 | .P |
|---|
| 43 | The default location for the database files is \fI/var/lib/arm4/data\fR. For |
|---|
| 44 | backup files, a time stamped directory is created under |
|---|
| 45 | \fI/var/lib/arm4/data/backup\fR. Each of these directories can be changed |
|---|
| 46 | using the \fIarm4.conf\fR configuration file. |
|---|
| 47 | .SH OPTIONS |
|---|
| 48 | .TP |
|---|
| 49 | \fB\-h\fR, \fB\-\-help\fR |
|---|
| 50 | display the command line options |
|---|
| 51 | .TP |
|---|
| 52 | \fB\-V\fR, \fB\-\-Version\fR |
|---|
| 53 | display the program version and exit |
|---|
| 54 | .TP |
|---|
| 55 | \fB\-v\fR, \fB\-\-verbose\fR |
|---|
| 56 | output diagnostic information as the program is run. This may not be suitable |
|---|
| 57 | when running in the background as a true daemon but can be useful for |
|---|
| 58 | debugging. |
|---|
| 59 | .TP |
|---|
| 60 | \fB\-C\fR, \fB\-\-Config\fR \fIconfig_file\fR |
|---|
| 61 | specifies a configuration file for this instance instead of using the default |
|---|
| 62 | configuration file. The default configuration file |
|---|
| 63 | \fI/etc/arm4.conf\fR is used if none is specified. |
|---|
| 64 | .TP |
|---|
| 65 | \fB\-d\fR, \fB\-\-debug\fR |
|---|
| 66 | run the daemon as a foreground process. This is primarily used for debugging. |
|---|
| 67 | .TP |
|---|
| 68 | \fB\-s\fR, \fB\-\-stats\fR |
|---|
| 69 | periodically display statistics on the message queues and database processes. |
|---|
| 70 | .TP |
|---|
| 71 | \fB\-o\fR, \fB\-\-off\fR |
|---|
| 72 | Start the agent as a "null" collector. Although the collector is active, |
|---|
| 73 | no data is actually collected. This can be controlled using the |
|---|
| 74 | \fBarm4_control\fR utility. |
|---|
| 75 | .SH "REPORTING BUGS" |
|---|
| 76 | Report bugs at <http://www.arm4.org> |
|---|
| 77 | .SH COPYRIGHT |
|---|
| 78 | Copyright \(co 2005\-2008 David Carter <dcarter@arm4.org> and others. |
|---|
| 79 | .P |
|---|
| 80 | All rights reserved. This program and the accompanying materials |
|---|
| 81 | are made available under the terms of the Eclipse Public License v1.0 |
|---|
| 82 | which accompanies this distribution, and is available at |
|---|
| 83 | http://www.eclipse.org/legal/epl-v10.html |
|---|
| 84 | .SH "SEE ALSO" |
|---|
| 85 | .LP |
|---|
| 86 | .BR arm4_control (1), |
|---|
| 87 | .BR arm4_dump (1), |
|---|
| 88 | .BR arm4_export (1), |
|---|
| 89 | .BR arm4_report (1), |
|---|
| 90 | .BR arm4_conf (5) |
|---|
| 91 | |
|---|