Skip to content

Instantly share code, notes, and snippets.

@lalamax3d
Last active January 25, 2021 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lalamax3d/7033b5c35e70df607f534784566152b2 to your computer and use it in GitHub Desktop.
Save lalamax3d/7033b5c35e70df607f534784566152b2 to your computer and use it in GitHub Desktop.
useful tips about using linux desktop (one step better)

top >> h ? top -b -n1 > logs/topLog.txt (run in batch move | outputs data in log file) top -o %CPU -d 10 -i (sort cpu usage wise | refresh after 10 seconds | hide idle processes) top -u root (show root user processes)

SHORTCUT KEYS q > quit ctl+z > hide fg > show again pgup | pgdn scroll a > toggle standard / alterV j > align numbers to right r > reverse sort (high to low) i > hide idle tasks m > shift + m >

FLAGS -h show current version -d specify delay time refresh -o sort by name field -p show process by id -u show process by user -i do not show idle task

Z > color s > summary m> messages t > tasks 1-9 colors b > bold text enter to commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment