open-nomad/website/pages/docs/commands/system/gc.mdx

32 lines
501 B
Plaintext
Raw Normal View History

---
2020-02-06 23:45:31 +00:00
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]
```
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.mdx'
## Examples
Running the system gc command does not output unless an error occurs:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad system gc
2020-05-01 20:02:21 +00:00
```