tools: Visualize per-face link-layer byte counts in nfd-status
refs #1768
Change-Id: Ic70567501903f6d386a9dc5fdc81e70eeb8c5fd7
diff --git a/docs/manpages/nfd-status.rst b/docs/manpages/nfd-status.rst
index 217fca5..a4d7c04 100644
--- a/docs/manpages/nfd-status.rst
+++ b/docs/manpages/nfd-status.rst
@@ -53,37 +53,46 @@
Get all status information from NFD::
$ nfd-status
+
General NFD status:
- version=1000
- startTime=20140621T165241.938000
- currentTime=20140621T170712.007000
- uptime=870 seconds
- nNameTreeEntries=8
- nFibEntries=2
+ version=2000
+ startTime=20140725T232341.374000
+ currentTime=20140725T233240
+ uptime=538 seconds
+ nNameTreeEntries=10
+ nFibEntries=3
nPitEntries=2
nMeasurementsEntries=0
- nCsEntries=24
- nInInterests=33
- nOutInterests=31
- nInDatas=24
- nOutDatas=18
+ nCsEntries=56
+ nInInterests=55
+ nOutInterests=54
+ nInDatas=56
+ nOutDatas=47
Channels:
+ ws://[::]:9696
unix:///private/var/run/nfd.sock
udp6://[::]:6363
udp4://0.0.0.0:6363
tcp6://[::]:6363
tcp4://0.0.0.0:6363
Faces:
- faceid=1 remote=internal:// local=internal:// counters={in={0i 26d} out={34i 0d}}
- faceid=2 remote=udp4://224.0.23.170:56363 local=udp4://192.168.1.103:56363 counters={in={0i 0d} out={0i 0d}}
- faceid=3 remote=udp4://224.0.23.170:56363 local=udp4://127.0.0.1:56363 counters={in={0i 0d} out={0i 0d}}
- faceid=4 remote=ether://[01:00:5e:00:17:aa] local=dev://bridge0 counters={in={0i 0d} out={0i 0d}}
- faceid=5 remote=ether://[01:00:5e:00:17:aa] local=dev://en0 counters={in={0i 0d} out={0i 0d}}
- faceid=6 remote=ether://[01:00:5e:00:17:aa] local=dev://en1 counters={in={0i 0d} out={0i 0d}}
- faceid=7 remote=fd://27 local=unix:///private/var/run/nfd.sock counters={in={23i 0d} out={0i 8d}}
- faceid=10 remote=fd://28 local=unix:///private/var/run/nfd.sock counters={in={3i 0d} out={0i 2d}}
+ faceid=1 remote=internal:// local=internal:// counters={in={0i 52d 0B} out={51i 0d 0B}} local
+ faceid=254 remote=contentstore:// local=contentstore:// counters={in={0i 0d 0B} out={0i 0d 0B}} local
+ faceid=255 remote=null:// local=null:// counters={in={0i 0d 0B} out={0i 0d 0B}} local
+ faceid=256 remote=udp4://224.0.23.170:56363 local=udp4://129.82.138.211:56363 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=257 remote=udp4://224.0.23.170:56363 local=udp4://127.0.0.1:56363 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=258 remote=ether://[01:00:5e:00:17:aa] local=dev://bridge0 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=259 remote=ether://[01:00:5e:00:17:aa] local=dev://en0 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=260 remote=ether://[01:00:5e:00:17:aa] local=dev://en1 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=261 remote=ether://[01:00:5e:00:17:aa] local=dev://en2 counters={in={0i 0d 0B} out={0i 0d 0B}}
+ faceid=262 remote=fd://30 local=unix:///private/var/run/nfd.sock counters={in={24i 6d 4880B} out={6i 16d 8417B}} local on-demand
+ faceid=268 remote=fd://31 local=unix:///private/var/run/nfd.sock counters={in={1i 0d 410B} out={0i 1d 764B}} local on-demand
+ faceid=269 remote=fd://32 local=unix:///private/var/run/nfd.sock counters={in={3i 0d 137B} out={0i 2d 925B}} local on-demand
FIB:
/localhost/nfd nexthops={faceid=1 (cost=0)}
- /localhost/nfd/rib nexthops={faceid=7 (cost=0)}
+ /example/testApp nexthops={faceid=268 (cost=0)}
+ /localhost/nfd/rib nexthops={faceid=262 (cost=0)}
+ Rib:
+ /example/testApp route={faceid=268 (origin=0 cost=0 flags=1)}
Strategy choices:
/ strategy=/localhost/nfd/strategy/best-route