mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-22 04:03:06 +00:00
docs: update docs with processes column (#1138)
This commit is contained in:
parent
a62fdc5e04
commit
e12ed777b7
4 changed files with 21 additions and 0 deletions
11
docs/content/configuration/config-file/processes.md
Normal file
11
docs/content/configuration/config-file/processes.md
Normal 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"]
|
||||
```
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue