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
| Option | Requires Value | Purpose | Notes |
|---|---|---|---|
-f | No | SGE-compatible force-delete flag. In practice, deletions are always forced, so this flag has no effect. | Kept for compatibility; not required. |
-u | Yes | Comma-separated list of users whose jobs should be deleted, or "*" for all users. | Non-existent users cause an error; use "*" with caution. |
Positional Parameters
| Parameter | Required | Purpose |
|---|---|---|
<job_task_list> | No | Comma-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
- Required parameters: Provide at least one of
<job_task_list>or-u. If both are provided, both are applied. - User validation: If a user specified with
-udoes not exist and is not"*", the command exits with an error. - Permissions: You can only delete your own jobs unless you have administrator privileges.
Unsupported Features
- SGE notification options (such as
-notify) are not implemented.