resalloc-maint - Man Page

Synopsis

resalloc-maint [-h] {resource-list,resource-info,resource-delete,resource-logs,ticket-list,foreach-resource} ...

Actions

resalloc-maint resource-list

List available resources

resalloc-maint resource-info

Print detailed information about a resource

resalloc-maint resource-delete

Delete resource

resalloc-maint resource-logs

Print and follow logs for a resource

resalloc-maint ticket-list

List not-yet-closed tickets

resalloc-maint foreach-resource

Execute command for each resource

COMMAND 'resalloc-maint resource-list'

usage: resalloc-maint resource-list [-h] [--up]

OPTIONS 'resalloc-maint resource-list'

--up

List only ready-to-take resources

COMMAND 'resalloc-maint resource-info'

usage: resalloc-maint resource-info [-h] resource

resource

The resource IDs

COMMAND 'resalloc-maint resource-delete'

usage: resalloc-maint resource-delete [-h] [--all | --unused] [resource ...]

resource

The resource IDs

OPTIONS 'resalloc-maint resource-delete'

--all

Delete all resources

--unused

Delete all resources without any assigned ticket

COMMAND 'resalloc-maint resource-logs'

usage: resalloc-maint resource-logs [-h] resource [resource ...]

resource

The resource IDs

COMMAND 'resalloc-maint ticket-list'

usage: resalloc-maint ticket-list [-h]

COMMAND 'resalloc-maint foreach-resource'

usage: resalloc-maint foreach-resource [-h] [--command COMMAND]

OPTIONS 'resalloc-maint foreach-resource'

--command COMMAND

Shell command to execute. This accepts variables like {state}, {data_utf8}, {name}, etc.

Author

Pavel Raiskup <praiskup@redhat.com>

Distribution

The latest version of resalloc may be downloaded from https://github.com/praiskup/resalloc

Info

2024-03-15 resalloc 5.4 Generated Python Manual