34 lines
577 B
Plaintext
34 lines
577 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'Commands: system gc'
|
|
sidebar_title: gc
|
|
description: |
|
|
Run the system garbage collection process.
|
|
---
|
|
|
|
# Command: system gc
|
|
|
|
Initializes a garbage collection of jobs, evaluations, allocations, and nodes.
|
|
This is an asynchronous operation.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad system gc [options]
|
|
```
|
|
|
|
If ACLs are enabled, this option requires a management token.
|
|
|
|
## General Options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|
|
|
|
## Examples
|
|
|
|
Running the system gc command does not output unless an error occurs:
|
|
|
|
```shell-session
|
|
$ nomad system gc
|
|
|
|
```
|