'\" t .\" Title: trace-cmd-agent .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 04/07/2024 .\" Manual: libtracefs Manual .\" Source: libtracefs .\" Language: English .\" .TH "TRACE\-CMD\-AGENT" "1" "04/07/2024" "libtracefs" "libtracefs Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" trace-cmd-agent \- Run as an agent on a machine (to be controlled by another machine) .SH "SYNOPSIS" .sp \fBtrace\-cmd agent\fR [\fIOPTIONS\fR] .SH "DESCRIPTION" .sp The trace\-cmd(1) agent listens over a vsocket (for virtual machines) or a TCP port for connections to control the tracing of the machine\&. The agent will then start tracing on the local machine and pass the data to the controlling connection\&. .SH "OPTIONS" .PP \fB\-N\fR \fIclient\fR .RS 4 Listen over TCP instead of a vsocket\&. Must pass in a client host name or IP address to allow connection to\&. It will only connect to the specified client\&. Note, any process on that client can control the agent\&. .sp .if n \{\ .RS 4 .\} .nf *This is a very insecure setting\&. Only use on a trusted network* *Only use if the client machine is totally trusted* .fi .if n \{\ .RE .\} .RE .PP \fB\-p\fR \fIport\fR .RS 4 This option will specify the port to listen to\&. .RE .PP \fB\-D\fR .RS 4 This options causes trace\-cmd agent to go into a daemon mode and run in the background\&. .RE .PP \fB\-P\fR \fIcid\fR .RS 4 Allow an agent to also act as a proxy server, where it can be run on a host and connect with a guest\&. \fIcid\fR is the context ID (see \fBvsock\fR(7)) of the client (e\&.g\&., guest VM) it will allow to connect\&. .RE .PP \fB\-\-verbose\fR[=\fIlevel\fR] .RS 4 Set the log level\&. Supported log levels are "none", "critical", "error", "warning", "info", "debug", "all" or their identifiers "0", "1", "2", "3", "4", "5", "6"\&. Setting the log level to specific value enables all logs from that and all previous levels\&. The level will default to "info" if one is not specified\&. .sp .if n \{\ .RS 4 .\} .nf Example: enable all critical, error and warning logs .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf trace\-cmd listen \-\-verbose=warning .fi .if n \{\ .RE .\} .RE .SH "SEE ALSO" .sp trace\-cmd(1), trace\-cmd\-record(1), trace\-cmd\-report(1), trace\-cmd\-start(1), trace\-cmd\-stop(1), trace\-cmd\-extract(1), trace\-cmd\-reset(1), trace\-cmd\-split(1), trace\-cmd\-list(1) .SH "AUTHOR" .sp Written by Steven Rostedt, <\m[blue]\fBrostedt@goodmis\&.org\fR\m[]\&\s-2\u[1]\d\s+2> .SH "RESOURCES" .sp \m[blue]\fBhttps://git\&.kernel\&.org/pub/scm/utils/trace\-cmd/trace\-cmd\&.git/\fR\m[] .SH "COPYING" .sp Copyright (C) 2010 Red Hat, Inc\&. Free use of this software is granted under the terms of the GNU Public License (GPL)\&. .SH "NOTES" .IP " 1." 4 rostedt@goodmis.org .RS 4 \%mailto:rostedt@goodmis.org .RE