1TRACE-CMD-AGENT(1) libtracefs Manual TRACE-CMD-AGENT(1)
2
3
4
6 trace-cmd-agent - Run as an agent on a machine (to be controlled by
7 another machine)
8
10 trace-cmd agent [OPTIONS]
11
13 The trace-cmd(1) agent listens over a vsocket (for virtual machines) or
14 a TCP port for connections to control the tracing of the machine. The
15 agent will then start tracing on the local machine and pass the data to
16 the controlling connection.
17
19 -N client
20 Listen over TCP instead of a vsocket. Must pass in a client host
21 name or IP address to allow connection to. It will only connect to
22 the specified client. Note, any process on that client can control
23 the agent.
24
25 *This is a very insecure setting. Only use on a trusted network*
26 *Only use if the client machine is totally trusted*
27
28 -p port
29 This option will specify the port to listen to.
30
31 -D
32 This options causes trace-cmd agent to go into a daemon mode and
33 run in the background.
34
35 -P cid
36 Allow an agent to also act as a proxy server, where it can be run
37 on a host and connect with a guest. cid is the context ID (see
38 vsock(7)) of the client (e.g., guest VM) it will allow to connect.
39
40 --verbose[=level]
41 Set the log level. Supported log levels are "none", "critical",
42 "error", "warning", "info", "debug", "all" or their identifiers
43 "0", "1", "2", "3", "4", "5", "6". Setting the log level to
44 specific value enables all logs from that and all previous levels.
45 The level will default to "info" if one is not specified.
46
47 Example: enable all critical, error and warning logs
48
49 trace-cmd listen --verbose=warning
50
52 trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
53 trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1),
54 trace-cmd-reset(1), trace-cmd-split(1), trace-cmd-list(1)
55
57 Written by Steven Rostedt, <rostedt@goodmis.org[1]>
58
60 https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
61
63 Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted
64 under the terms of the GNU Public License (GPL).
65
67 1. rostedt@goodmis.org
68 mailto:rostedt@goodmis.org
69
70
71
72libtracefs 10/11/2022 TRACE-CMD-AGENT(1)