hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 1 | nfd-status-http-server |
| 2 | ====================== |
| 3 | |
| 4 | Usage |
| 5 | ----- |
| 6 | |
| 7 | :: |
| 8 | |
Junxiao Shi | f0dfb33 | 2017-02-02 05:32:25 +0000 | [diff] [blame] | 9 | nfd-status-http-server [-h] [-p <PORT>] [-a <IPADDR>] [-r] [-v] |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 10 | |
| 11 | Description |
| 12 | ----------- |
| 13 | |
| 14 | ``nfd-status-http-server`` is a daemon that enables retrieval of NFD status via HTTP protocol. |
| 15 | |
| 16 | Options |
| 17 | ------- |
| 18 | |
| 19 | ``-h`` |
| 20 | Show this help message and exit. |
| 21 | |
Junxiao Shi | f0dfb33 | 2017-02-02 05:32:25 +0000 | [diff] [blame] | 22 | ``-p <PORT>`` |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 23 | HTTP server port number (default is 8080). |
| 24 | |
Junxiao Shi | f0dfb33 | 2017-02-02 05:32:25 +0000 | [diff] [blame] | 25 | ``-a <IPADDR>`` |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 26 | HTTP server IP address (default is 127.0.0.1). |
| 27 | |
| 28 | ``-r`` |
| 29 | Enable HTTP robots to crawl (disabled by default). |
| 30 | |
| 31 | ``-v`` |
| 32 | Verbose mode. |
| 33 | |
| 34 | Examples |
| 35 | -------- |
| 36 | |
| 37 | Enable NFD HTTP status server on all IPv4 interfaces:: |
| 38 | |
| 39 | nfd-status-http-server -p 80 -a 0.0.0.0 |
| 40 | |
| 41 | Enable NFD HTTP status server on all IPv6 interfaces:: |
| 42 | |
| 43 | nfd-status-http-server -p 80 -a :: |