hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 1 | nfd-status |
| 2 | ========== |
| 3 | |
| 4 | Usage |
| 5 | ----- |
| 6 | |
| 7 | :: |
| 8 | |
| 9 | nfd-status [options] |
| 10 | |
| 11 | Description |
| 12 | ----------- |
| 13 | |
| 14 | ``nfd-status`` is a tool to retrieve and print out NFD version and status information. |
| 15 | |
| 16 | Options: |
| 17 | -------- |
| 18 | |
| 19 | ``-h`` |
| 20 | Print usage information. |
| 21 | |
| 22 | ``-v`` |
| 23 | Retrieve version information. |
| 24 | |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 25 | ``-c`` |
| 26 | Retrieve channel status information. |
| 27 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 28 | ``-f`` |
| 29 | Retrieve face status information. |
| 30 | |
| 31 | ``-b`` |
| 32 | Retrieve FIB information. |
| 33 | |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame^] | 34 | ``-r`` |
| 35 | Retrieve RIB information. |
| 36 | |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 37 | ``-s`` |
| 38 | Retrieve configured strategy choice for NDN namespaces. |
| 39 | |
| 40 | ``-x`` |
| 41 | Output NFD status information in XML format. |
| 42 | |
| 43 | ``-V`` |
| 44 | Show version information of nfd-status and exit. |
| 45 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 46 | If no options are provided, all information is retrieved. |
| 47 | |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 48 | If -x is provided, other options(-v, -c, etc.) are ignored, and all information is printed in XML format. |
| 49 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 50 | Examples |
| 51 | -------- |
| 52 | |
| 53 | Get all status information from NFD:: |
| 54 | |
| 55 | $ nfd-status |
| 56 | General NFD status: |
| 57 | version=1000 |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 58 | startTime=20140621T165241.938000 |
| 59 | currentTime=20140621T170712.007000 |
| 60 | uptime=870 seconds |
| 61 | nNameTreeEntries=8 |
| 62 | nFibEntries=2 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 63 | nPitEntries=2 |
| 64 | nMeasurementsEntries=0 |
| 65 | nCsEntries=24 |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 66 | nInInterests=33 |
| 67 | nOutInterests=31 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 68 | nInDatas=24 |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 69 | nOutDatas=18 |
| 70 | Channels: |
| 71 | unix:///private/var/run/nfd.sock |
| 72 | udp6://[::]:6363 |
| 73 | udp4://0.0.0.0:6363 |
| 74 | tcp6://[::]:6363 |
| 75 | tcp4://0.0.0.0:6363 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 76 | Faces: |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 77 | faceid=1 remote=internal:// local=internal:// counters={in={0i 26d} out={34i 0d}} |
| 78 | faceid=2 remote=udp4://224.0.23.170:56363 local=udp4://192.168.1.103:56363 counters={in={0i 0d} out={0i 0d}} |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 79 | faceid=3 remote=udp4://224.0.23.170:56363 local=udp4://127.0.0.1:56363 counters={in={0i 0d} out={0i 0d}} |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 80 | faceid=4 remote=ether://[01:00:5e:00:17:aa] local=dev://bridge0 counters={in={0i 0d} out={0i 0d}} |
| 81 | faceid=5 remote=ether://[01:00:5e:00:17:aa] local=dev://en0 counters={in={0i 0d} out={0i 0d}} |
| 82 | faceid=6 remote=ether://[01:00:5e:00:17:aa] local=dev://en1 counters={in={0i 0d} out={0i 0d}} |
| 83 | faceid=7 remote=fd://27 local=unix:///private/var/run/nfd.sock counters={in={23i 0d} out={0i 8d}} |
| 84 | faceid=10 remote=fd://28 local=unix:///private/var/run/nfd.sock counters={in={3i 0d} out={0i 2d}} |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 85 | FIB: |
| 86 | /localhost/nfd nexthops={faceid=1 (cost=0)} |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 87 | /localhost/nfd/rib nexthops={faceid=7 (cost=0)} |
| 88 | Strategy choices: |
| 89 | / strategy=/localhost/nfd/strategy/best-route |