summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-08-21 19:59:49 -0700
committerGitHub <noreply@github.com>2020-08-21 22:59:49 -0400
commitc82f4d40b40649ae53037701fadc2f5c1be9e901 (patch)
treedd7e24db33aea9528c6834732479e92a3c12a0e1 /README.md
parentff15649be77f2e66444cc98e1b1e87a20767eeef (diff)
feature: Support memb (mem bytes) searching in processes
Supports searching by the new mem value.
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 13 insertions, 10 deletions
diff --git a/README.md b/README.md
index 82941f0e..8b75f21e 100644
--- a/README.md
+++ b/README.md
@@ -269,7 +269,7 @@ Run using `btm`.
### Process searching keywords
-- Note none of the keywords are case sensitive.
+- None of the keywords are case sensitive.
- Use brackets to logically group together parts of the search.
- Furthermore, if you want to search a reserved keyword, surround the text in quotes - for example, `"or" or "(sd-pam)"` would be a valid search:
@@ -277,15 +277,18 @@ Run using `btm`.
#### Supported keywords
-| Keywords | Example | Description |
-| -------- | --------------- | ------------------------------------------------------------------------------- |
-| `pid` | `pid: 1044` | Matches by PID; supports regex and requiring matching the entire PID |
-| `cpu` | `cpu > 0.5` | Matches the condition for the CPU column; supports comparison operators |
-| `mem` | `mem < 0.5` | Matches the condition for the memory column; supports comparison operators |
-| `read` | `read = 1` | Matches the condition for the read/s column; supports comparison operators |
-| `write` | `write >= 1` | Matches the condition for the write/s column; supports comparison operators |
-| `tread` | `tread <= 1024` | Matches the condition for the total read column; supports comparison operators |
-| `twrite` | `twrite > 1024` | Matches the condition for the total write column; supports comparison operators |
+Searching without a keyword will search by process or command name (depends on what column is being shown by the current process widget).
+
+| Keywords | Example | Description |
+| -------- | ------------------ | ------------------------------------------------------------------------------------------------- |
+| `pid` | `pid: 1044` | Matches by PID; supports regex and requiring matching the entire PID |
+| `cpu` | `cpu > 0.5` | Matches the condition for the CPU column; supports comparison operators |
+| `memb` | `memb > 1000 b` | Matches the condition for the memory column in terms of bytes; supports comparison operators |
+| `mem` | `mem < 0.5` | Matches the condition for the memory column in terms of percent; supports comparison operators |
+| `read` | `read = 1 mb` | Matches the condition for the read/s column in terms of bytes; supports comparison operators |
+| `write` | `write >= 1 kb` | Matches the condition for the write/s column in terms of bytes; supports comparison operators |
+| `tread` | `tread <= 1024 gb` | Matches the condition for the total read column in terms of bytes; supports comparison operators |
+| `twrite` | `twrite > 1024 tb` | Matches the condition for the total write column in terms of bytes; supports comparison operators |
#### Supported comparison operators