Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Docs: metrics: network: Clarify pre-process and running #946

Merged
merged 1 commit into from
Jun 6, 2017
Merged
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
11 changes: 8 additions & 3 deletions tests/metrics/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,21 @@ RSS is a standard measure to monitor memory usage in a physical memory scheme.

## Running the networking tests

1. Generate the necessary files to run the individual tests with the following command:
Before the network tests can be run, some files must be pre-processed.
The following command will both pre-process the required files and then run
the tests:

```
$ sudo -E make metrics tests
$ sudo -E make metrics-tests

```
2. Run the networking tests using `sudo` with the following commands:

Once the necessary files have been pre-processed via the above command,
individual tests may be run by hand, for example:

```
$ cd tests/metrics
$ bash network/network-metrics.sh

```
Note, some tests require `root` priviledges to operate correctly.