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. 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 ## Key bindings
Note that key bindings are generally case-sensitive. 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 - User
- Process state - 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 ### Sorting
The table can be sorted by clicking on the table headers, which will either sort the table by that column, or if already 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 - "Theming": configuration/config-file/theming.md
- "Layout": configuration/config-file/layout.md - "Layout": configuration/config-file/layout.md
- "Data Filtering": configuration/config-file/data-filtering.md - "Data Filtering": configuration/config-file/data-filtering.md
- "Processes": configuration/config-file/processes.md
- "Contribution": - "Contribution":
- "Issues, Pull Requests, and Discussions": contribution/issues-and-pull-requests.md - "Issues, Pull Requests, and Discussions": contribution/issues-and-pull-requests.md
- "Documentation": contribution/documentation.md - "Documentation": contribution/documentation.md