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 | |
Junxiao Shi | bf6acd5 | 2016-09-14 03:57:57 +0000 | [diff] [blame^] | 50 | Exit Codes |
| 51 | ---------- |
| 52 | |
| 53 | 0: Success |
| 54 | |
| 55 | 1: An unspecified error occurred |
| 56 | |
| 57 | 2: Malformed command line |
| 58 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 59 | Examples |
| 60 | -------- |
| 61 | |
| 62 | Get all status information from NFD:: |
| 63 | |
| 64 | $ nfd-status |
Chengyu Fan | 3331cfa | 2014-07-25 17:36:31 -0600 | [diff] [blame] | 65 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 66 | General NFD status: |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 67 | nfdId=/tmp-identity/%80%80%BF%9A/KEY/ksk-1457726482439/ID-CERT |
| 68 | version=0.4.1-10-g4f1afac |
| 69 | startTime=20160426T224102.791000 |
| 70 | currentTime=20160426T224108.813000 |
| 71 | uptime=6 seconds |
| 72 | nNameTreeEntries=11 |
| 73 | nFibEntries=2 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 74 | nPitEntries=2 |
| 75 | nMeasurementsEntries=0 |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 76 | nCsEntries=2 |
| 77 | nInInterests=5 |
| 78 | nOutInterests=5 |
| 79 | nInDatas=7 |
| 80 | nOutDatas=4 |
| 81 | nInNacks=0 |
| 82 | nOutNacks=0 |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 83 | Channels: |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 84 | tcp4://0.0.0.0:6363 |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 85 | tcp6://[::]:6363 |
| 86 | udp4://0.0.0.0:6363 |
| 87 | udp6://[::]:6363 |
| 88 | unix:///private/var/run/nfd.sock |
| 89 | ws://[::]:9696 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 90 | Faces: |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 91 | faceid=1 remote=internal:// local=internal:// counters={in={0i 9d 0n 4830B} out={8i 0d 0n 1232B}} local permanent point-to-point |
| 92 | faceid=254 remote=contentstore:// local=contentstore:// counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} local permanent point-to-point |
| 93 | faceid=255 remote=null:// local=null:// counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} local permanent point-to-point |
| 94 | faceid=256 remote=udp4://224.0.23.170:56363 local=udp4://10.134.195.206:56363 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 95 | faceid=257 remote=udp4://224.0.23.170:56363 local=udp4://127.0.0.1:56363 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 96 | faceid=258 remote=ether://[01:00:5e:00:17:aa] local=dev://awdl0 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 97 | faceid=259 remote=ether://[01:00:5e:00:17:aa] local=dev://en2 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 98 | faceid=260 remote=ether://[01:00:5e:00:17:aa] local=dev://en1 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 99 | faceid=261 remote=ether://[01:00:5e:00:17:aa] local=dev://en0 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 100 | faceid=262 remote=ether://[01:00:5e:00:17:aa] local=dev://bridge0 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} non-local permanent multi-access |
| 101 | faceid=263 remote=fd://36 local=unix:///private/var/run/nfd.sock counters={in={5i 0d 0n 998B} out={0i 4d 0n 2511B}} local on-demand point-to-point |
| 102 | faceid=264 remote=fd://37 local=unix:///private/var/run/nfd.sock counters={in={3i 0d 0n 146B} out={0i 2d 0n 992B}} local on-demand point-to-point |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 103 | FIB: |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 104 | /localhost/nfd/rib nexthops={faceid=263 (cost=0)} |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 105 | /localhost/nfd nexthops={faceid=1 (cost=0)} |
Alexander Afanasyev | c2642ca | 2014-09-01 15:57:35 -0700 | [diff] [blame] | 106 | RIB: |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 107 | /localhost/nfd/rib route={faceid=263 (origin=0 cost=0 ChildInherit)} |
Chengyu Fan | ee92fc7 | 2014-06-21 14:58:19 -0600 | [diff] [blame] | 108 | Strategy choices: |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 109 | / strategy=/localhost/nfd/strategy/best-route/%FD%04 |
| 110 | /localhost strategy=/localhost/nfd/strategy/multicast/%FD%01 |
| 111 | /ndn/broadcast strategy=/localhost/nfd/strategy/multicast/%FD%01 |
| 112 | /localhost/nfd strategy=/localhost/nfd/strategy/best-route/%FD%04 |