summaryrefslogtreecommitdiff
path: root/doc/dlt-logstorage-ctrl.1.md
blob: 1e80fb8bc0b2c7912b9eff3dc3c0486745b1f5dc (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
% DLT-LOGSTORAGE-CTRL(1)

# NAME

**dlt-logstorage-ctrl** - Trigger DLT Daemon to start/stop using an offline logstorage device

# SYNOPSIS

**dlt-logstorage-ctrl** \[**-h**\] \[**-c** ctype\] \[**-p** path\] \[**-e** ecu\] \[**-p\<prop\>**\] \[**-t** timeout\] \[**-v**\]

# DESCRIPTION

Send a trigger to DLT Daemon to connect/disconnect a certain offline logstorage device

# OPTIONS

-h

:   Display a short help text.

-c

:   Specify connection type: connect = 1, disconnect = 0.

-d

:   Run as daemon: prop = use proprietary handler

-p

:    Mount point path.

-e

:   Specify the ECU ID. Default is: ECU1.

-t

:    Specify connection timeout. Default is: 10s.

# EXAMPLES

Activate the offline logstorage device mounted on /mnt/dltlog
    **dlt-logstorage-ctrl -c 1 -p /mnt/dltlog**

Deactivate the offline logstorage device mounted on /mnt/dltlog
    **dlt-logstorage-ctrl -c 0 -p /mnt/dltlog**

Run logstorage control application as daemon listen to udev events
    **dlt-logstorage-ctrl -d**

# EXIT STATUS

Non zero is returned in case of failure.

# AUTHOR

Christoph Lipka (clipka (at) jp.adit-jv (dot) com), Syed Hameed (shameed (at) jp.adit-jv (dot) com)

# COPYRIGHT

Copyright (C) 2015 Advanced Driver Information Technology, Bosch and DENSO. License MPL-2.0: Mozilla Public License version 2.0 <http://mozilla.org/MPL/2.0/>.

# BUGS

See Github issue: <https://github.com/GENIVI/dlt-daemon/issues>

# SEE ALSO

**dlt-daemon(1)**