Skip to main content
The cockroach debug list-files command shows the files that will be collected by using cockroach debug zip.
The files listed include logs, heap profiles, goroutine dumps, and CPU profiles. Other files generated by cockroach debug zip are not listed by cockroach debug list-files.

Subcommands

While the cockroach debug command has a few subcommands, users are expected to use only the zip, upload, encryption-active-key, merge-logs, list-files, tsdump, and ballast subcommands. We recommend using the encryption-decrypt and job-trace subcommands only when directed by the Cockroach Labs support team. The other debug subcommands are useful only to Cockroach Labs. Output of debug commands may contain sensitive or secret information.

Synopsis

Flags

The debug list-files subcommand supports the following general-use, client connection, and logging flags.

General

Client connection

Logging

While the cockroach debug command has a few subcommands, users are expected to use only the zip, upload, encryption-active-key, merge-logs, list-files, tsdump, and ballast subcommands. We recommend using the encryption-decrypt and job-trace subcommands only when directed by the Cockroach Labs support team. The other debug subcommands are useful only to Cockroach Labs. Output of debug commands may contain sensitive or secret information.

Examples

List all collected files

The files listed include logs, heap profiles, goroutine dumps, and CPU profiles. Other files generated by cockroach debug zip are not listed by cockroach debug list-files.

List all collected log files

List all collected files (TSV format)