---
# Code generated by 'make generate-documentation'. DO NOT EDIT.
title: Gadget oomkill
---

oomkill monitors when OOM killer is triggered and kills a process.

### Example CR

```yaml
apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
  name: oomkill
  namespace: gadget
spec:
  node: ubuntu-hirsute
  gadget: oomkill
  runMode: Manual
  outputMode: Stream
  filter:
    namespace: default
```

### Operations


#### start

Start oomkill gadget

```bash
$ kubectl annotate -n gadget trace/oomkill \
    gadget.kinvolk.io/operation=start
```
#### stop

Stop oomkill gadget

```bash
$ kubectl annotate -n gadget trace/oomkill \
    gadget.kinvolk.io/operation=stop
```

### Output Modes

* Stream
