Forked from ericandrewlewis/gist:4983670c508b2f6b181703df43438c37
Created
May 15, 2018 20:43
-
-
Save dmitry-salnikov/ccea113c1d2b1d2ea77dbd16ddffb3c0 to your computer and use it in GitHub Desktop.
Revisions
-
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 8 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,21 +14,21 @@ This is a list of the most helpful keyboard commands I use within top. `Left` and `Right` to navigate horizontally through fields (in case you're displaying a bunch). `Shift+c` will show an index of where you are in the process list (eg 30/300 when your cursor is on process 30 and there are 300). ## Sorting `Shift+p` sort processes by CPU usage `Shift+m` sort processes by memory usage `Shift+r` reverse sort order Sort on any field: Press `f` to bring up the Field Management menu. Select the field to sort on, press `s` and then `Escape`. ## Searching `Shift+l` search for a string and highlights all occurences `o` add a filter to limit which processes are displayed. A filter takes the format `{field name}{comparator}{value}`. For example, to see only processes owned by my user, I would add a filter `USER=eric`. @@ -44,4 +44,6 @@ Sort on any field: Press `f` to bring up the Field Management menu. Select the f `d` set the refresh rate (in seconds) `Shift+w` saves the settings you've configured while running top to a file (`.toprc`) so they persist next time you use it. `Shift+e` toggle the scale of memory metrics (between kilobytes and megabytes etc.) in the system memory summary, and `e` toggles the scale of memory metrics in the process list. The default is kilobytes, I find megabytes a useful level. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Sort on any field: Press `f` to bring up the Field Management menu. Select the f `L` search for a string and highlights all occurences `o` add a filter to limit which processes are displayed. A filter takes the format `{field name}{comparator}{value}`. For example, to see only processes owned by my user, I would add a filter `USER=eric`. `Ctrl+o` view active filters. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Sort on any field: Press `f` to bring up the Field Management menu. Select the f ## Searching `L` search for a string and highlights all occurences `o` add a filter. A filter takes the format `{field name}{comparator}{value}`. For example, to see only processes owned by my user, I would add a filter `USER=eric`. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,8 @@ This is a list of the most helpful keyboard commands I use within top. ## The basics `h` shows help on interactive commands. Also see the [top manual page](http://man7.org/linux/man-pages/man1/top.1.html) `q` to quit the program. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # top (the UNIX process inspector) cheat sheet This is a list of the most helpful keyboard commands I use within top. `h` shows help on interactive commands. Also see the [top manual page](http://man7.org/linux/man-pages/man1/top.1.html) `q` to quit the program. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ `Up` and `Down` to scroll through processes one by one, or `PageUp` and `PageDown` for paged navigation. `Left` and `Right` to navigate horizontally through fields (in case you're displaying a bunch). `C` will show an index of where you are in the process list (eg 30/300 when your cursor is on process 30 and there are 300). -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 20 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,26 @@ # top (the UNIX process inspector) cheat sheet `h` shows help on interactive commands. Also see the [top manual page](http://man7.org/linux/man-pages/man1/top.1.html) `q` to quit the program. ## Navigating `Up` and `Down` to scroll through processes one by one, or `PageUp` and `PageDown` for paged navigation. `Left` and `Right` to navigate horizontally through fields (useful when displaying many). `C` will show an index of where you are in the process list (eg 30/300 when your cursor is on process 30 and there are 300). ## Sorting `Shift+P` sort processes by CPU usage `Shift+M` sort processes by memory usage `Shift+R` reverse sort order Sort on any field: Press `f` to bring up the Field Management menu. Select the field to sort on, press `s` and then `Escape`. ## Searching @@ -28,7 +34,10 @@ ## Other stuff `m` switches memory views between the list of metrics and graph view. `k` kill a process `d` set the refresh rate (in seconds) `W` saves the settings you've configured while running top to a file (`.toprc`) so they persist next time you use it. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # top (the UNIX process inspector) cheat sheet `h` shows help on interactive commands. Also see the [top manual page](http://man7.org/linux/man-pages/man1/top.1.html) `q` to quit the program. ## Navigating -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,7 @@ `L` search for a string, which will also highlight all occurences `o` add a filter. A filter takes the format `{field name}{comparator}{value}`. For example, to see only processes owned by my user, I would add a filter `USER=eric`. `Ctrl+o` view active filters. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ # top (the UNIX process inspector) cheat sheet `h` shows help on interactive commands. Also see the man page for top (`man top`). `q` to quit the program. ## Navigating * `Up` and `Down` to scroll through processes one by one, or `PageUp` and `PageDown` for paged navigation. @@ -13,9 +16,19 @@ * `Shift+R` reverse sort order * Sort on any field: Press `f` to bring up the Field Management menu. Select the field to sort on, press `s` and then `Escape`. ## Searching `L` search for a string, which will also highlight all occurences `o` add a filter. A filter takes the format `{field name}{comparator}{value}`. For example, to see only processes owned by my user, I would add a filter `user=eric`. `Ctrl+o` view active filters. `=` clear all filters. ## Other stuff * `m` switches memory views between the list of metrics and graph view. * `k` kill a process * `d` set the refresh rate (in seconds) * `W` saves the settings you've configured while running top to a file (`.toprc`) so they persist next time you use it. -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 7 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ # top (the UNIX process inspector) cheat sheet ## Navigating * `Up` and `Down` to scroll through processes one by one, or `PageUp` and `PageDown` for paged navigation. * `Left` and `Right` to navigate horizontally through fields (useful when displaying many). * `C` will show an index of where you are in the process list (eg 30/300 when your cursor is on process 30 and there are 300). ## Sorting @@ -14,4 +16,6 @@ ## Other stuff * `m` switches memory views between the list of metrics and graph view. * `k` kill a process * `d` set the refresh rate (in seconds) * -
ericandrewlewis revised this gist
Aug 29, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,3 +11,7 @@ * `Shift+R` reverse sort order * Sort on any field: Press `f` to bring up the Field Management menu. Select the field to sort on, press `s` and then `Escape`. ## Other stuff * `m` switches memory views between the list of metrics and graph view. -
ericandrewlewis renamed this gist
Aug 29, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ericandrewlewis created this gist
Aug 29, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # top (the process-inspector) cheat sheet ## Navigating * `Up` and `down` navigate through the list of processes ## Sorting * `Shift+P` sort processes by CPU usage * `Shift+M` sort processes by memory usage * `Shift+R` reverse sort order * Sort on any field: Press `f` to bring up the Field Management menu. Select the field to sort on, press `s` and then `Escape`.