summaryrefslogtreecommitdiff
path: root/doc/dlt-logstorage-ctrl.1
blob: d35a6ea95917963594ce4e6d246f0c545db3e23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
'\" t
.\"     Title: dlt-logstorage-ctrl
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: 02/23/2016
.\"    Manual: \ \&
.\"    Source: \ \&
.\"  Language: English
.\"
.TH "DLT\-LOGSTORAGE\-CTR" "1" "02/23/2016" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
dlt-logstorage-ctrl \- Trigger DLT Daemon to start/stop using an offline logstorage device
.SH "SYNOPSIS"
.sp
\fBdlt\-logstorage\-ctrl\fR [\-h] [\-c ctype] [\-d dev] [\-e ecu] [\-t timeout]
.SH "DESCRIPTION"
.sp
Send a trigger to DLT Daemon to connect/disconnect a certain offline logstorage device
.SH "OPTIONS"
.PP
\fB\-h\fR
.RS 4
Display a short help text\&.
.RE
.PP
\fB\-c\fR
.RS 4
Specify connection type: connect = 1, disconnect = 0\&.
.RE
.PP
\fB\-d\fR
.RS 4
Specify device [1 \&.\&. DLT_OFFLINE_LOGSTORAGE_MAX_DEVICES]\&.
.RE
.PP
\fB\-e\fR
.RS 4
Specify the ECU ID\&. Default is: ECU1\&.
.RE
.PP
\fB\-t\fR
.RS 4
Specify connection timeout\&. Default is: 10s\&.
.RE
.SH "EXAMPLES"
.sp
Activate the offline logstorage device mounted on /tmp/dltlogs/dltlogsdev1
.sp
.if n \{\
.RS 4
.\}
.nf
dlt\-logstorage\-ctrl \-c 1 \-d 1
.fi
.if n \{\
.RE
.\}
.sp
Deactivate the offline logstorage device mounted on /tmp/dltlogs/dltlogsdev2
.sp
.if n \{\
.RS 4
.\}
.nf
dlt\-logstorage\-ctrl \-c 0 \-d 2
.fi
.if n \{\
.RE
.\}
.SH "EXIT STATUS"
.sp
Non zero is returned in case of failure\&.
.SH "AUTHOR"
.sp
Christoph Lipka (clipka (at) jp\&.adit\-jv\&.com) Syed Hameed (shameed (at) jp\&.adit\-jv\&.com)
.SH "RESOURCES"
.sp
Main web site: http://projects\&.genivi\&.org/diagnostic\-log\-trace Mailinglist: https://lists\&.genivi\&.org/mailman/listinfo/genivi\-diagnostic\-log\-and\-trace
.SH "SEE ALSO"
.sp
dlt\-daemon(1)