2020-01-13 10:35:24 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: system gc'
|
|
|
|
sidebar_title: gc
|
|
|
|
description: |
|
2020-01-13 10:35:24 +00:00
|
|
|
Run the system garbage collection process.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: system gc
|
|
|
|
|
|
|
|
Initializes a garbage collection of jobs, evaluations, allocations, and nodes.
|
2020-01-13 14:45:14 +00:00
|
|
|
This is an asynchronous operation.
|
2020-01-13 10:35:24 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
nomad system gc [options]
|
|
|
|
```
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2020-01-13 10:35:24 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Running the system gc command does not output unless an error occurs:
|
|
|
|
|
2020-05-01 20:02:21 +00:00
|
|
|
```shell-sessionnomad system gc
|
|
|
|
|
2020-01-13 10:35:24 +00:00
|
|
|
```
|