# k command

The k command terminates the process
associated with the PIB pib or the flusher, if used with the F key,
by sending a SIGTERM to it. If used with the W key, the k command waits up to 10 seconds for the process to terminate. If
it does not terminate, a SIGKILL is sent to it.

## Syntax

```
k{w}[f|pib]
```
Note: If the target process is in the monitor debugger or
stuck on a semaphore, the SIGTERM signal has no effect until the monitor
debugger or the semaphore is released. Killing exits the flusher ('k{w}f') and unconditionally logs off all processes and
shuts down the virtual machine.

---
Source: https://d3codex.com/unix/k-command/ - part of the D3Codex reference.
