From 11542c1e3eacd1395d3f398ec99a49c92cbc6aa2 Mon Sep 17 00:00:00 2001
From: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
Date: Mon, 5 Aug 2024 18:52:23 -0400
Subject: [PATCH] docs: update docs and requirements as of 2024-08-05
---
docs/content/usage/widgets/process.md | 49 +++++++++++++++------------
docs/requirements.txt | 6 ++--
2 files changed, 31 insertions(+), 24 deletions(-)
diff --git a/docs/content/usage/widgets/process.md b/docs/content/usage/widgets/process.md
index a28d96779..0c16dc02a 100644
--- a/docs/content/usage/widgets/process.md
+++ b/docs/content/usage/widgets/process.md
@@ -21,14 +21,21 @@ By default, the main process table displays the following information for each p
- Name of the process
- CPU use percentage (note this is averaged out per available thread by default)
- Memory use percentage
-- Reads per second
-- Writes per second
-- Total amount read
-- Total amount written
+- Disk reads per second
+- Disk writes per second
+- Total amount read from disk
+- Total amount written from disk
- User
- Process state
- Process uptime
+
+ !!! info indent
+
+ On Windows, the I/O counters will report _all_ reads/writes, not just disk. See
+ [here](https://docs.rs/sysinfo/latest/sysinfo/struct.Process.html#method.disk_usage)
+ for more details.
+
With the feature flag (`--enable_gpu` on Linux/Windows) and gpu process columns enabled in the configuration:
- GPU memory use percentage
@@ -135,23 +142,23 @@ You can also paste search queries (e.g. ++shift+insert++, ++ctrl+shift+v++).
Note all keywords are case-insensitive. To search for a process/command that collides with a keyword, surround the term with quotes (e.x. `"cpu"`).
-| Keywords | Example | Description |
-| ------------------------------- | ------------------------------------- | ------------------------------------------------------------------------------- |
-| | `btm` | Matches by process or command name; supports regex |
-| `pid` | `pid=1044` | Matches by PID; supports regex |
-| `cpu`
`cpu%` | `cpu > 0.5` | Matches the CPU column; supports comparison operators |
-| `memb` | `memb > 1000 b` | Matches the memory column in terms of bytes; supports comparison operators |
-| `mem`
`mem%` | `mem < 0.5` | Matches the memory column in terms of percent; supports comparison operators |
-| `read`
`r/s`
`rps` | `read = 1 mb` | Matches the read/s column in terms of bytes; supports comparison operators |
-| `write`
`w/s`
`wps` | `write >= 1 kb` | Matches the write/s column in terms of bytes; supports comparison operators |
-| `tread`
`t.read` | `tread <= 1024 gb` | Matches he total read column in terms of bytes; supports comparison operators |
-| `twrite`
`t.write` | `twrite > 1024 tb` | Matches the total write column in terms of bytes; supports comparison operators |
-| `user` | `user=root` | Matches by user; supports regex |
-| `state` | `state=running` | Matches by state; supports regex |
-| `()` | `( AND ) OR ` | Group together a condition |
-| `gmem` | `gmem > 1000 b` | Matches the gpu memory column in terms of bytes; supports comparison operators |
-| `gmem%` | `gmem% < 0.5` | Matches the gpu memory column in terms of percent; supports comparison operators|
-| `gpu%` | `gpu% > 0` | Matches the gpu usage column in terms of percent; supports comparison operators |
+| Keywords | Example | Description |
+| ------------------------------- | ------------------------------------- | -------------------------------------------------------------------------------- |
+| | `btm` | Matches by process or command name; supports regex |
+| `pid` | `pid=1044` | Matches by PID; supports regex |
+| `cpu`
`cpu%` | `cpu > 0.5` | Matches the CPU column; supports comparison operators |
+| `memb` | `memb > 1000 b` | Matches the memory column in terms of bytes; supports comparison operators |
+| `mem`
`mem%` | `mem < 0.5` | Matches the memory column in terms of percent; supports comparison operators |
+| `read`
`r/s`
`rps` | `read = 1 mb` | Matches the read/s column in terms of bytes; supports comparison operators |
+| `write`
`w/s`
`wps` | `write >= 1 kb` | Matches the write/s column in terms of bytes; supports comparison operators |
+| `tread`
`t.read` | `tread <= 1024 gb` | Matches he total read column in terms of bytes; supports comparison operators |
+| `twrite`
`t.write` | `twrite > 1024 tb` | Matches the total write column in terms of bytes; supports comparison operators |
+| `user` | `user=root` | Matches by user; supports regex |
+| `state` | `state=running` | Matches by state; supports regex |
+| `()` | `( AND ) OR ` | Group together a condition |
+| `gmem` | `gmem > 1000 b` | Matches the gpu memory column in terms of bytes; supports comparison operators |
+| `gmem%` | `gmem% < 0.5` | Matches the gpu memory column in terms of percent; supports comparison operators |
+| `gpu%` | `gpu% > 0` | Matches the gpu usage column in terms of percent; supports comparison operators |
#### Comparison operators
diff --git a/docs/requirements.txt b/docs/requirements.txt
index a78f4cf20..6f18402c7 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,5 +1,5 @@
-mkdocs == 1.5.3
-mkdocs-material == 9.5.15
+mkdocs == 1.6.0
+mkdocs-material == 9.5.31
mdx_truly_sane_lists == 1.3
-mike == 2.0.0
+mike == 2.1.2
mkdocs-git-revision-date-localized-plugin == 1.2.4