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