MKILL(1)

NAME
mkill - terminate, suspend, or resume a task or thread

SYNOPSIS
mkill [-host machine] [-KILL|-STOP|-CONT|-ABORT] ids...

DESCRIPTION
mkill(1) operates on objects, typically tasks and threads. A list of MachIDs specifies the objects, which may be of different types.

Given the MachID of a processor set name port, mkill will attempt to convert to the MachID of the corresponding processor set port.

mkill must run as root or a member of group kmem to gain access to the target objects.

mkill interprets the following options:

-host machine
    Directs the inquiry to the machid(1) server running on the specified machine.

-KILL
    Terminates tasks and threads. Destroys processor sets. For tasks, threads, and processor sets, this is the default operation.

-STOP
    Suspends tasks and threads. Stops processors. For processors, this is the default operation.

-CONT
    Resumes tasks and threads. Starts processors.

-ABORT
    Aborts a thread's Mach system call, page fault, or priority depression.

SEE ALSO
ms(1), mnice(1), machid(1), task_terminate(2), thread_terminate(2), processor_set_destroy(2), task_suspend(2), thread_suspend(2), task_resume(2), thread_resume(2), processor_exit(2), processor_start(2), thread_abort(2).