Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #115 from Metaswitch/sto1481
Browse files Browse the repository at this point in the history
[Reviewer: Rob] Docs for list_users tool
  • Loading branch information
mirw committed Sep 25, 2015
2 parents b963d3e + 6e8cd73 commit 3fae266
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/Provisioning_Subscribers.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,25 @@ optional arguments:
-s, --short less verbose display
--hsprov IP:PORT IP address and port of homestead-prov
```

## List users

All the users provisioned on the system can be listed with the `list_users` tool.

Note that the `--full` parameter defaults to off because it greatly decreases the performance of the tool (by more than an order of magnitude).

The `--pace` parameter's default values should ensure that this does not use more than 10% of the homestead cluster's CPU - that is 5 users per second if `--force` is set and 500 if not. If you set the "--pace" parameter to more than the default, you'll be prompted to confirm (or specify the `--force` parameter).

```
usage: list_users.py [-h] [-k] [--hsprov IP:PORT] [--full] [--pace PACE] [-f]
List users
optional arguments:
-h, --help show this help message and exit
-k, --keep-going keep going on errors
--hsprov IP:PORT IP address and port of homestead-prov
--full displays full information for each user
--pace PACE sets the target number of users to list per second
-f, --force forces specified pace
```

0 comments on commit 3fae266

Please sign in to comment.