Skip to content
This repository was archived by the owner on Sep 29, 2026. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docs/vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,12 @@ However, when you stop packet capture, it will stop captures on all network taps

### From the Command Line Binary

To start a packet capture, run the following command.
To start a packet capture, run the following command, specifying the target
network interface by its name (as declared in the experiment topology, e.g.
`IF0`) or its zero-based index.

```shell
phenix vm capture start <experiment name> <vm name> <iface index> </path/to/out file>
phenix vm capture start <experiment name> <vm name> <iface name/index> </path/to/out file>
```

To stop all packet captures on a running VM, use the following command.
Expand All @@ -244,6 +246,14 @@ To stop all packet captures on a running VM, use the following command.
phenix vm capture stop <experiment name> <vm name>
```

To stop the packet capture running on a single interface, without affecting
any other captures running on the same VM, provide the interface name or
index.

```shell
phenix vm capture stop <experiment name> <vm name> <iface name/index>
```

## Kill a VM

### From the Web-UI
Expand Down
Loading