CLI Guide

Table Of Contents
Syntax
capture begin
[-s|session] session name
[-c|capture-directory] capture-directory
Arguments
Required arguments
[-s|--session] session name * Name of capture session. Output files from the capture session are named using this
value.
[-c|--capture-directory]
directory
* Pathname for the capture directory. Default capture directory: /var/log/
VPlex/cli/capture
* - argument is positional.
Description
The session captures saves all the stdin, stdout, stderr, and session I/O streams to 4 files:
session name-session.txt - Output of commands issued during the capture session.
session name-stdin.txt - CLI commands input during the capture session.
session name-stdout.txt - Output of commands issued during the capture session.
session name-stderr.txt - Status messages generated during the capture session.
NOTE:
Raw tty escape sequences are not captured. Use the --capture shell option to capture the entire session
including the raw tty sequences.
Capture sessions can have nested capture sessions but only the capture session at the top of the stack is active.
Use the capture end command to end the capture session.
Use the capture replay command to resubmit the captured input to the shell.
Examples
In the following example, the capture begin command starts a capture session named TestCapture. Because no directory
is specified, output files are placed in the /var/log/VPlex/cli/capture directory on the management server.
VPlexcli:/> capture begin TestCapture
# capture begin TestCapture
VPlexcli:/>
See also
capture end
capture pause
capture replay
capture resume
Commands
53