Skip to main content

Manage Jobs

This guide provides an overview of how to view and list Slurm jobs on your cluster.

List Jobs

Use the fluidctl slurm clusters jobs list command to list jobs on a cluster:

fluidctl slurm clusters jobs list --region <region> --project <project-id> --cluster-id <cluster-id>

Filter Options:

  • --state - Filter jobs by state (e.g., RUNNING, PENDING, COMPLETED, FAILED)
  • --user - Filter jobs by username
  • --partition - Filter jobs by partition
  • --limit - Limit the number of results (default: no limit)

Examples:

List all running jobs:

fluidctl slurm clusters jobs list --region <region> --project <project-id> --cluster-id <cluster-id> --state RUNNING

List jobs for a specific user with limit:

fluidctl slurm clusters jobs list --region <region> --project <project-id> --cluster-id <cluster-id> --user myuser --limit 10

Get Job Details

Use the fluidctl slurm clusters jobs get command to get details of a specific job:

fluidctl slurm clusters jobs get <job-id> --region <region> --project <project-id> --cluster-id <cluster-id>

Example:

fluidctl slurm clusters jobs get 12345 --region <region> --project <project-id> --cluster-id <cluster-id>

Job States

Jobs can be in one of the following states:

StateDescription
PENDINGJob is waiting to be scheduled
RUNNINGJob is currently executing
COMPLETINGJob is in the process of completing
COMPLETEDJob has finished successfully
FAILEDJob has terminated with an error
TIMEOUTJob was terminated due to time limit
CANCELLEDJob was cancelled by user or administrator