## zowe › sysview › capture-immediate

Submit a capture request2

#### Usage

zowe sysview capture-immediate <capture-file> [options]

#### Positional Arguments

- `capture-file` (string)

  - The list of SYSVIEW commands to be executed as an Event Capture.This takes the same form as a CAPLIB member.

#### display options

- `--context-fields` | `--cf` (array)

  - Context fields to display. Defaults to hiding all context

#### data options

- `--capture-description` | `--cd` (string)

  - The description of the capture

#### sysview connection options

- `--host` | `-H` (string)

  - The hostname of the SYSVIEW REST API

- `--port` | `-P` (number)

  - The port number of the SYSVIEW REST API

- `--user` | `-u` (string)

  - Your z/OS username used to authenticate to the SYSVIEW REST API

- `--password` | `--pass` | `--pw` (string)

  - Your z/OS password used to authenticate to the SYSVIEW REST API

- `--reject-unauthorized` | `--ru` (boolean)

  - If set, the server certificate is verified against the list of supplied CAs

- `--ssid` (string)

  - SSID of the SYSVIEW instance. Default value: GSVX

    Default value: GSVX

- `--base-path` | `--bp` (string)

  - The base path for your API mediation layer instance. Do not specify this option if you are not using an API mediation layer.

    Default value: /api/v1

#### Profile Options

- `--sysview-profile` | `--sysview-p` (string)

  - The name of a (sysview) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication.

    Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Issues a Capture containing the commands in capture file 'my-capture.txt' with the description 'Top CPU Users':

  - `zowe sysview capture-immediate "./my-capture.txt" --description "Top CPU Users"`