Delete empty job groups owned by the specified user. Only administrators can use this option. These groups can be explicit or implicit. If you specify a job group name, the -uoption is ignored.
Delete empty job groups and their sub groups for all users. Only administrators can use this option. These groups can be explicit or implicit. If you specify a job group name, the -uoption is ignored.

bgdel

deletes job groups

Synopsis

bgdel [-uuser_name -u all] job_group_name 0

bgdel -cjob_group_name

bgdel [-h -V]

Description

Deletes a job group with the job group name specified by job_group_name and all its subgroups.

You must provide full group path name for the job group to be deleted. The job group cannot contain any jobs.

Users can only delete their own job groups. LSF administrators can delete any job groups.

Job groups can be created explicitly or implicitly:

A job group is created explicitly with the bgadd command.

A job group is created implicitly by the bsub -gor bmod -gcommand when the specified group does not exist. Job groups are also created implicitly when a default job group is configured (DEFAULT_JOBGROUP in lsb.params or LSB_DEFAULT_JOBGROUP environment variable).

Options

0Delete the empty job groups. These groups can be explicit or implicit.

-uuser_name

-u all

-cjob_group_name Delete all the empty groups below the requested job_group_name including the job_group_name itself. These groups can be explicit or implicit.

job_group_name -h-V

Full path of the job group name.

Prints command usage to stderr and exits.

Prints LSF release version to stderr and exits.

Example

bgdel /risk_group

Job group /risk_group is deleted.

deletes the job group /risk_group and all its subgroups.

Platform LSF Command Reference 43