pueue-kill
TLDR
Kill specific task
$ pueue kill [task_id]
Kill all running tasks$ pueue kill --all
Kill tasks in group$ pueue kill --group [group_name]
Send specific signal$ pueue kill --signal [SIGTERM] [task_id]
SYNOPSIS
pueue kill [options] [taskids_]
DESCRIPTION
pueue kill sends signals to running tasks in the pueue task queue. By default, it sends SIGKILL to terminate tasks immediately.
PARAMETERS
--all, -a
Kill all tasks.--group, -g name
Target specific group.--signal, -s signal
Signal to send.--children, -c
Kill children processes.
EXAMPLES
$ # Kill task by ID
pueue kill 5
# Kill all running tasks
pueue kill --all
# Kill group
pueue kill --group compilation
# Send SIGTERM instead
pueue kill --signal SIGTERM 3
# Kill with children
pueue kill --children 7
# Multiple tasks
pueue kill 1 2 3
pueue kill 5
# Kill all running tasks
pueue kill --all
# Kill group
pueue kill --group compilation
# Send SIGTERM instead
pueue kill --signal SIGTERM 3
# Kill with children
pueue kill --children 7
# Multiple tasks
pueue kill 1 2 3
SIGNALS
$ SIGTERM (15) - Graceful termination
SIGKILL (9) - Force kill (default)
SIGINT (2) - Interrupt
SIGSTOP (19) - Stop process
SIGKILL (9) - Force kill (default)
SIGINT (2) - Interrupt
SIGSTOP (19) - Stop process
CAVEATS
SIGKILL cannot be caught. Use SIGTERM for graceful shutdown. Part of pueue task manager.
HISTORY
pueue kill is part of pueue, a command-line task manager by Arne Beer for managing long-running tasks.
SEE ALSO
pueue(1), pueue-start(1), pueue-pause(1), kill(1)


