1TRACE-CMD-LISTEN(1) libtracefs Manual TRACE-CMD-LISTEN(1)
2
3
4
6 trace-cmd-listen - listen for incoming connection to record tracing.
7
9 trace-cmd listen -p port [OPTIONS]
10
12 The trace-cmd(1) listen sets up a port to listen to waiting for
13 connections from other hosts that run trace-cmd-record(1) with the -N
14 option. When a connection is made, and the remote host sends data, it
15 will create a file called trace.HOST:PORT.dat. Where HOST is the name
16 of the remote host, and PORT is the port that the remote host used to
17 connect with.
18
20 -p port
21 This option will specify the port to listen to.
22
23 -D
24 This options causes trace-cmd listen to go into a daemon mode and
25 run in the background.
26
27 -d dir
28 This option specifies a directory to write the data files into.
29
30 -o filename
31 This option overrides the default trace in the trace.HOST:PORT.dat
32 that is created when a remote host connects.
33
34 -l filename
35 This option writes the output messages to a log file instead of
36 standard output.
37
38 --verbose[=level]
39 Set the log level. Supported log levels are "none", "critical",
40 "error", "warning", "info", "debug", "all" or their identifiers
41 "0", "1", "2", "3", "4", "5", "6". Setting the log level to
42 specific value enables all logs from that and all previous levels.
43 The level will default to "info" if one is not specified.
44
45 Example: enable all critical, error and warning logs
46
47 trace-cmd listen --verbose=warning
48
50 trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
51 trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1),
52 trace-cmd-reset(1), trace-cmd-split(1), trace-cmd-list(1)
53
55 Written by Steven Rostedt, <rostedt@goodmis.org[1]>
56
58 https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
59
61 Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted
62 under the terms of the GNU Public License (GPL).
63
65 1. rostedt@goodmis.org
66 mailto:rostedt@goodmis.org
67
68
69
70libtracefs 07/23/2022 TRACE-CMD-LISTEN(1)