docs: update docs with processes column (#1138)

This commit is contained in:
Clement Tsang 2023-05-07 17:00:55 -04:00 committed by GitHub
parent a62fdc5e04
commit e12ed777b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# Processes
## Columns
You can configure which columns are shown by the process widget by setting the `columns` setting:
```toml
[processes]
# Pick which columns you want to use.
columns = ["cpu%", "mem", "mem%", "pid", "count", "name", "command", "read", "write", "Tread", "twrite", "state", "user", "time"]
```

View file

@ -13,6 +13,8 @@ If the total RAM or swap available is 0, then it is automatically hidden from th
One can also adjust the displayed time range through either the keyboard or mouse, with a range of 30s to 600s.
This widget can also be configured to display Nvidia GPU memory usage (`--enable_gpu_memory`) or cache memory usage (`--enable_cache_memory`).
## Key bindings
Note that key bindings are generally case-sensitive.

View file

@ -28,6 +28,13 @@ By default, the main process table displays the following information for each p
- User
- Process state
It can also additionally display the following columns:
- Process time
See [the processes configuration page](../../configuration/config-file/processes.md) on how to customize which columns
are shown.
### Sorting
The table can be sorted by clicking on the table headers, which will either sort the table by that column, or if already

View file

@ -145,6 +145,7 @@ nav:
- "Theming": configuration/config-file/theming.md
- "Layout": configuration/config-file/layout.md
- "Data Filtering": configuration/config-file/data-filtering.md
- "Processes": configuration/config-file/processes.md
- "Contribution":
- "Issues, Pull Requests, and Discussions": contribution/issues-and-pull-requests.md
- "Documentation": contribution/documentation.md