From e7b9a592b997e76eae4582263620f96f76d7d567 Mon Sep 17 00:00:00 2001 From: Michael Hienle Date: Sat, 28 Sep 2019 11:03:50 +0200 Subject: [PATCH 1/3] Issue #767: Add top cheatsheet --- top.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 top.md diff --git a/top.md b/top.md new file mode 100644 index 0000000000..46e150c7f6 --- /dev/null +++ b/top.md @@ -0,0 +1,18 @@ +--- +title: top +category: CLI +layout: 2017/sheet +intro: See the processes in your Unix machine. +--- + +| `h` | shows help | +| `q` | quits the program | +| `m` | switches memory view | +| `k` | kills process | +| `Shift+p` | sorts by CPU usage | +| `Shift+m` | sorts by memory usage | +| `Shift+r` | reverses sorting | +| `Shift+l` | searches for string | +| `o` | adds a filter | +| `=` | clears filters | + From afda4c70dc5eb3e2b5781648c2ef06f3bb0ef0df Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 1 Jan 2020 10:08:59 +1100 Subject: [PATCH 2/3] Update top.md --- top.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/top.md b/top.md index 46e150c7f6..7259e58ae4 100644 --- a/top.md +++ b/top.md @@ -5,14 +5,18 @@ layout: 2017/sheet intro: See the processes in your Unix machine. --- -| `h` | shows help | -| `q` | quits the program | -| `m` | switches memory view | -| `k` | kills process | -| `Shift+p` | sorts by CPU usage | -| `Shift+m` | sorts by memory usage | -| `Shift+r` | reverses sorting | -| `Shift+l` | searches for string | -| `o` | adds a filter | -| `=` | clears filters | +### Shortcuts +| Shortcut | Description | +| --------- | --------------------- | +| `h` | shows help | +| `q` | quits the program | +| `m` | switches memory view | +| `k` | kills process | +| `Shift+p` | sorts by CPU usage | +| `Shift+m` | sorts by memory usage | +| `Shift+r` | reverses sorting | +| `Shift+l` | searches for string | +| `o` | adds a filter | +| `=` | clears filters | +{: .-shortcuts} From e9ca32b14a3a4d219a4154a97c94a608f3b09a74 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 1 Jan 2020 10:09:22 +1100 Subject: [PATCH 3/3] Update top.md --- top.md | 1 + 1 file changed, 1 insertion(+) diff --git a/top.md b/top.md index 7259e58ae4..4b43b8dc44 100644 --- a/top.md +++ b/top.md @@ -2,6 +2,7 @@ title: top category: CLI layout: 2017/sheet +updated: 2020-01-01 intro: See the processes in your Unix machine. ---