summaryrefslogtreecommitdiff
path: root/doc/dlt-adaptor-stdin.1.md
blob: 9ac624441b2cb83a9aed0aa31fdcb726c5b6f2f3 (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
% DLT-ADAPTOR-STDIN(1)

# NAME

**dlt-adaptor-stdin** - Forward input from stdin to DLT Daemon

# SYNOPSIS

**dlt-adaptor-stdin** \[**-a** apid\] \[**-c** ctid\] \[**-b**\] \[**-s**\] \[**-t** timeout\] \[**-h**\]

# DESCRIPTION

This is a small external program for forwarding input from stdin to DLT Daemon.

## OPTIONS

-a

:    Set application ID to apid (default: SINA)

-c

:    Set context ID tp ctid (default: SINC)

-b

:    To flush the buffered logs while unregistering app

-s

:    Set socket to Blocking mode if unix socket is used

-t

:    Set timeout when sending messages at exit, in ms (default: 10000 = 10sec)

-h

:    Show help

# EXAMPLES

Forward all dmesg to DLT Daemon without discarding any messages
    **dmesg | dlt-adaptor-stdin -b -s**

Send DBUS messages to DLT Daemon using the program dbus-monitor
    **dbus-monitor | dlt-adaptor-stdin**

# EXIT STATUS

Non zero is returned in case of failure.

# AUTHOR

Saya Sugiura (ssugiura (at) jp.adit-jv (dot) com)

# COPYRIGHT

Copyright (C) 2019 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)**