summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNarasimhaiah Suprathik (RBEI/ECF3) <uns7kor@bosch.com>2020-12-07 16:27:57 +0530
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-10-05 11:19:26 +0900
commitd2200fc25e3ae0c04e349a80b979476ee156d215 (patch)
tree3bc5fa08a4486e6cbe26565f664f31561bef71cf /doc
parent4fb420dc7aec6e428e6f4a2320ea66c722d20337 (diff)
downloadDLT-daemon-d2200fc25e3ae0c04e349a80b979476ee156d215.tar.gz
lib: Add MaxFileSize handling
Signed-Off By: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/dlt_example_user.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/dlt_example_user.md b/doc/dlt_example_user.md
index d2f9af6..0aa9d0e 100644
--- a/doc/dlt_example_user.md
+++ b/doc/dlt_example_user.md
@@ -6,7 +6,7 @@
# SYNOPSIS
-**dlt-example-user** \[**-h**\] \[**-g**\] \[**-a**\] \[**-k**\] \[**-d** delay\] \[**-f** filename\] \[**-n** count\] \[**-m** mode\] \[**-l** level\] \[**-A** appID\] \[**-C** contextID\] \[**-t** timeout\] \[**-s** size\] message
+**dlt-example-user** \[**-h**\] \[**-g**\] \[**-a**\] \[**-k**\] \[**-d** delay\] \[**-f** filename\] \[**-S** filesize\] \[**-n** count\] \[**-m** mode\] \[**-l** level\] \[**-A** appID\] \[**-C** contextID\] \[**-t** timeout\] \[**-s** size\] message
# DESCRIPTION
@@ -38,6 +38,10 @@ Sends the given message as DLT messages to DLT daemon or prints the raw DLT mess
: Use local log file instead of sending to daemon.
+-S
+
+: Set maximum size of local log file (Default: UINT\_MAX).
+
-n
: Number of messages to be generated (Default: 10).
@@ -81,6 +85,10 @@ Send 100 DLT messages every second::
dlt-example-user -n 100 -d 1000 HelloWorld
+Send "HelloWorld" can log to local file with maximum size 1000 bytes::
+
+ dlt-example-user -f helloworld.dlt -S 1000 HelloWorld
+
# EXIT STATUS
Non zero is returned in case of failure.
@@ -103,4 +111,4 @@ See Github issue: <https://github.com/GENIVI/dlt-daemon/issues>
# SEE ALSO
-**dlt-daemon(1)** \ No newline at end of file
+**dlt-daemon(1)**