blob: 5a52ae27174a5f9a5edd541db0490f47ea8f6a3f [file] [log] [blame]
hilata6ee6e072014-04-20 17:10:18 -05001nfd-status
2==========
3
4Usage
5-----
6
7::
8
9 nfd-status [options]
10
11Description
12-----------
13
14``nfd-status`` is a tool to retrieve and print out NFD version and status information.
15
16Options:
17--------
18
19``-h``
20 Print usage information.
21
22``-v``
23 Retrieve version information.
24
Chengyu Fanee92fc72014-06-21 14:58:19 -060025``-c``
26 Retrieve channel status information.
27
hilata6ee6e072014-04-20 17:10:18 -050028``-f``
29 Retrieve face status information.
30
31``-b``
32 Retrieve FIB information.
33
Chengyu Fanee92fc72014-06-21 14:58:19 -060034``-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
hilata6ee6e072014-04-20 17:10:18 -050043If no options are provided, all information is retrieved.
44
Chengyu Fanee92fc72014-06-21 14:58:19 -060045If -x is provided, other options(-v, -c, etc.) are ignored, and all information is printed in XML format.
46
hilata6ee6e072014-04-20 17:10:18 -050047Examples
48--------
49
50Get all status information from NFD::
51
52 $ nfd-status
53 General NFD status:
54 version=1000
Chengyu Fanee92fc72014-06-21 14:58:19 -060055 startTime=20140621T165241.938000
56 currentTime=20140621T170712.007000
57 uptime=870 seconds
58 nNameTreeEntries=8
59 nFibEntries=2
hilata6ee6e072014-04-20 17:10:18 -050060 nPitEntries=2
61 nMeasurementsEntries=0
62 nCsEntries=24
Chengyu Fanee92fc72014-06-21 14:58:19 -060063 nInInterests=33
64 nOutInterests=31
hilata6ee6e072014-04-20 17:10:18 -050065 nInDatas=24
Chengyu Fanee92fc72014-06-21 14:58:19 -060066 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
hilata6ee6e072014-04-20 17:10:18 -050073 Faces:
Chengyu Fanee92fc72014-06-21 14:58:19 -060074 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}}
hilata6ee6e072014-04-20 17:10:18 -050076 faceid=3 remote=udp4://224.0.23.170:56363 local=udp4://127.0.0.1:56363 counters={in={0i 0d} out={0i 0d}}
Chengyu Fanee92fc72014-06-21 14:58:19 -060077 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}}
hilata6ee6e072014-04-20 17:10:18 -050082 FIB:
83 /localhost/nfd nexthops={faceid=1 (cost=0)}
Chengyu Fanee92fc72014-06-21 14:58:19 -060084 /localhost/nfd/rib nexthops={faceid=7 (cost=0)}
85 Strategy choices:
86 / strategy=/localhost/nfd/strategy/best-route