Merge pull request #1213 from mhienle/top-cheatsheet

Issue #767: Add top cheatsheet
This commit is contained in:
Rico Sta. Cruz 2020-01-01 10:09:29 +11:00 committed by GitHub
commit 71a59adbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

23
top.md Normal file
View File

@ -0,0 +1,23 @@
---
title: top
category: CLI
layout: 2017/sheet
updated: 2020-01-01
intro: See the processes in your Unix machine.
---
### 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}