# Managing `DM` Tasks using `dmctl`
+ Use **`dmctl`** to manage `DM` tasks
+ Two modes available for **`dmctl`**
  + Interactive mode: Enter commands after the **`»`** prompt
  + Command mode

```
~!@// Interactive Mode Example@!~

$$ tiup dmctl --master-addr 10.0.0.138:8261
tiup is checking updates for component dmctl ...
Starting component `dmctl`: ...
~!@»@!~
```

```
~!@// Command Mode Example@!~

$ tiup dmctl --master-addr 172.16.30.14:8261 start-task task.yaml
$ tiup dmctl --master-addr 172.16.30.14:8261 stop-task test-task
$ tiup dmctl --master-addr 172.16.30.14:8261 query-status
```
------------------------------------
[no notes]