2023-01-10 17:50:31 +01:00
|
|
|
---
|
2023-08-18 14:38:13 +03:00
|
|
|
title: "Garbage Collector Cmdline Reference"
|
2023-01-10 17:50:31 +01:00
|
|
|
layout: default
|
2023-03-05 22:56:46 +01:00
|
|
|
sort: 7
|
2023-01-10 17:50:31 +01:00
|
|
|
---
|
|
|
|
|
2023-08-18 14:38:13 +03:00
|
|
|
# NFD-GC Commandline Flags
|
2023-01-10 17:50:31 +01:00
|
|
|
{: .no_toc }
|
|
|
|
|
|
|
|
## Table of Contents
|
|
|
|
{: .no_toc .text-delta }
|
|
|
|
|
|
|
|
1. TOC
|
|
|
|
{:toc}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2023-08-18 14:38:13 +03:00
|
|
|
To quickly view available command line flags execute `nfd-gc -help`.
|
2023-01-10 17:50:31 +01:00
|
|
|
In a docker container:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker run {{ site.container_image }} \
|
2023-08-18 14:38:13 +03:00
|
|
|
nfd-gc -help
|
2023-01-10 17:50:31 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### -h, -help
|
|
|
|
|
|
|
|
Print usage and exit.
|
|
|
|
|
|
|
|
### -version
|
|
|
|
|
|
|
|
Print version and exit.
|
|
|
|
|
|
|
|
### -gc-interval
|
|
|
|
|
|
|
|
The `-gc-interval` specifies the interval between periodic garbage collector runs.
|
|
|
|
|
|
|
|
Default: 1h
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
```bash
|
2023-08-18 14:38:13 +03:00
|
|
|
nfd-gc -gc-interval=1h
|
2023-01-10 17:50:31 +01:00
|
|
|
```
|