summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-05-07 17:00:55 -0400
committerGitHub <noreply@github.com>2023-05-07 17:00:55 -0400
commite12ed777b7b4d5590d6b245ce073fcf534984ed2 (patch)
treef1e5daa13da29f3c3f488332a78df5b7b139388d /docs
parenta62fdc5e042b2a9cf745a416f817fa9dea129078 (diff)
docs: update docs with processes column (#1138)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/configuration/config-file/processes.md11
-rw-r--r--docs/content/usage/widgets/memory.md2
-rw-r--r--docs/content/usage/widgets/process.md7
-rw-r--r--docs/mkdocs.yml1
4 files changed, 21 insertions, 0 deletions
diff --git a/docs/content/configuration/config-file/processes.md b/docs/content/configuration/config-file/processes.md
new file mode 100644
index 00000000..55e5c2c6
--- /dev/null
+++ b/docs/content/configuration/config-file/processes.md
@@ -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"]
+```
diff --git a/docs/content/usage/widgets/memory.md b/docs/content/usage/widgets/memory.md
index 59d36c9a..5059d2bf 100644
--- a/docs/content/usage/widgets/memory.md
+++ b/docs/content/usage/widgets/memory.md
@@ -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.
diff --git a/docs/content/usage/widgets/process.md b/docs/content/usage/widgets/process.md
index 0c5063f4..6dd21daa 100644
--- a/docs/content/usage/widgets/process.md
+++ b/docs/content/usage/widgets/process.md
@@ -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
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index a400c624..a58622b8 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -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