blob: c0df3536b96b3c9f60046eb3601911c5fd7e8d55 (
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
|
% DLT-CONVERT(1)
# NAME
**dlt-convert** - Convert DLT Logging files into ASCII
# SYNOPSIS
**dlt-convert** \[**-h**\] \[**-a**\] \[**-x**\] \[**-m**\] \[**-s**\] \[**-o** filename\] \[**-v**\] \[**-c**\] \[**-f** filterfile\] \[**-b** number\] \[**-e** number\] \[**-w**\] file1 \[file2\] \[file3\]
# DESCRIPTION
Read DLT files, print DLT messages as ASCII and store the messages again.
Use Ranges and Output file to cut DLT files.
Use two files and Output file to join DLT files.
## OPTIONS
-h
: Display a short help text.
-a
: Print DLT file; payload as ASCII.
-x
: Print DLT file; payload as hex.
-m
: Print DLT file; payload as hex and ASCII.
-s
Print DLT file; only headers.
-o
: Output messages in new DLT file.
-v
: Verbose mode.
-c
: Count number of messages.
-f
: Enable filtering of messages.
-b
: First messages to be handled.
-e
: Last message to be handled.
-w
: Follow dlt file while file is increasing.
# EXAMPLES
Convert DLT file into ASCII:
**dlt-convert -a mylog.dlt**
Cut a specific range, e.g. from message 1 to message 3 from a file called log.dlt and store the result to a file called newlog.dlt:
**dlt-convert -b 1 -e 3 -o newlog.dlt log.dlt**
Paste two dlt files log1.dlt and log2.dlt to a new file called newlog.dlt::
**dlt-convert -o newlog.dlt log1.dlt log2.dlt**
# EXIT STATUS
Non zero is returned in case of failure.
# AUTHOR
Alexander Wenzel (alexander.aw.wenzel (at) bmw (dot) de)
# COPYRIGHT
Copyright (C) 2015 BMW AG. 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)**
|