JOB-LOGS

On this page

View logs for jobs the MemSQL Ops agent has run.

This is useful for troubleshooting MemSQL Ops.

Usage

usage: memsql-ops job-logs [--settings-file SETTINGS_FILE] [-n NUM_LINES] [-f]
                           job_id

View job logs.

positional arguments:
  job_id                The ID of the job.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  -n NUM_LINES, --num-lines NUM_LINES
                        Specifies the number of lines to show from the job's
                        logs.
  -f, --follow          Follow the job's logs.

Last modified: April 25, 2023

Was this article helpful?