blob: 831dd7d8885e1a4d8262557e48f122fe56b79dcc [file] [log] [blame]
Junxiao Shi3160a3f2018-01-09 21:25:15 +00001nfdc-cs
Junxiao Shicdf78452018-03-02 23:14:15 +00002=======
Junxiao Shi3160a3f2018-01-09 21:25:15 +00003
4SYNOPSIS
5--------
Davide Pesaventod2147442018-02-19 23:58:17 -05006| nfdc cs [info]
Junxiao Shicdf78452018-03-02 23:14:15 +00007| nfdc cs config [capacity <CAPACITY>] [admit on|off] [serve on|off]
Junxiao Shia4d7fe02018-07-20 06:51:41 -06008| nfdc cs erase <PREFIX> [count <COUNT>]
Junxiao Shi3160a3f2018-01-09 21:25:15 +00009
10DESCRIPTION
11-----------
12The **nfdc cs info** command shows CS statistics information.
13
Junxiao Shicdf78452018-03-02 23:14:15 +000014The **nfdc cs config** command updates CS configuration.
15
Junxiao Shia4d7fe02018-07-20 06:51:41 -060016The **nfdc cs erase** command erases cached Data under a name prefix.
17
Junxiao Shicdf78452018-03-02 23:14:15 +000018OPTIONS
19-------
20<CAPACITY>
21 Maximum number of Data packets the CS can store.
22 Lowering the capacity causes the CS to evict excess Data packets.
23
24admit on|off
25 Whether the CS can admit new Data.
26
27serve on|off
28 Whether the CS can satisfy incoming Interests using cached Data.
29 Turning this off causes all CS lookups to miss.
30
Junxiao Shia4d7fe02018-07-20 06:51:41 -060031<PREFIX>
32 Name prefix of cached Data packets.
33
34<COUNT>
35 Maximum number of cached Data packets to erase.
36 The default is "no limit".
37
Junxiao Shi3160a3f2018-01-09 21:25:15 +000038SEE ALSO
39--------
40nfd(1), nfdc(1)