diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-04-29 19:21:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 19:21:48 -0400 |
commit | 605314d44c68791ba8225102b941d5547290dce9 (patch) | |
tree | ca0fe06283f00688b07da0228aebd724198cae57 /docs | |
parent | 7162e9c4837741f28eedada1facea6f1fd710329 (diff) |
feature: add customizable process columns (#1115)
* feature: add customizable process columns
* Add some tests and actual logic
* more tests
* update changelog
* update config field
* even more tests
* update documentation
* more testing
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/usage/widgets/process.md | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/content/usage/widgets/process.md b/docs/content/usage/widgets/process.md index 52603098..0c5063f4 100644 --- a/docs/content/usage/widgets/process.md +++ b/docs/content/usage/widgets/process.md @@ -126,20 +126,20 @@ 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` <br/> `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` <br/> `mem%` | `mem < 0.5` | Matches the memory column in terms of percent; supports comparison operators | -| `read` <br/> `r/s` | `read = 1 mb` | Matches the read/s column in terms of bytes; supports comparison operators | -| `write` <br/> `w/s` | `write >= 1 kb` | Matches the write/s column in terms of bytes; supports comparison operators | -| `tread` <br/> `t.read` | `tread <= 1024 gb` | Matches he total read column in terms of bytes; supports comparison operators | -| `twrite` <br/> `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 | -| `()` | `(<COND 1> AND <COND 2>) OR <COND 3>` | Group together a condition | +| Keywords | Example | Description | +| ------------------------------- | ------------------------------------- | ------------------------------------------------------------------------------- | +| | `btm` | Matches by process or command name; supports regex | +| `pid` | `pid=1044` | Matches by PID; supports regex | +| `cpu` <br/> `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` <br/> `mem%` | `mem < 0.5` | Matches the memory column in terms of percent; supports comparison operators | +| `read` <br/> `r/s` <br/> `rps` | `read = 1 mb` | Matches the read/s column in terms of bytes; supports comparison operators | +| `write` <br/> `w/s` <br/> `wps` | `write >= 1 kb` | Matches the write/s column in terms of bytes; supports comparison operators | +| `tread` <br/> `t.read` | `tread <= 1024 gb` | Matches he total read column in terms of bytes; supports comparison operators | +| `twrite` <br/> `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 | +| `()` | `(<COND 1> AND <COND 2>) OR <COND 3>` | Group together a condition | #### Comparison operators |