Skip to main content

qdel

Overview

qdel deletes jobs in the FSCHED system. It replaces the same command in SGE (Sun Grid Engine) and allows users to terminate specific jobs or all jobs for specified users.


Options

Optional Parameters

OptionRequires ValuePurposeNotes
-fNoSGE-compatible force-delete flag. In practice, deletions are always forced, so this flag has no effect.Kept for compatibility; not required.
-uYesComma-separated list of users whose jobs should be deleted, or "*" for all users.Non-existent users cause an error; use "*" with caution.

Positional Parameters

ParameterRequiredPurpose
<job_task_list>NoComma-separated list of FSCHED job IDs to delete, e.g. 12345,67890.
If -u is not used, this parameter is required or the command fails.

Examples

Example 1: Delete specific jobs

qdel 12345,67890

Terminates jobs with IDs 12345 and 67890.


Example 2: Delete jobs for specific users

qdel -u user1,user2

Deletes all running jobs for users user1 and user2.


Example 3: Delete jobs for all users (use with caution)

qdel -u "*"

Terminates all jobs in the system. This action is irreversible; use only with appropriate permissions.


Notes

  1. Required parameters: Provide at least one of <job_task_list> or -u. If both are provided, both are applied.
  2. User validation: If a user specified with -u does not exist and is not "*", the command exits with an error.
  3. Permissions: You can only delete your own jobs unless you have administrator privileges.

Unsupported Features

  • SGE notification options (such as -notify) are not implemented.