Skip to content

Instantly share code, notes, and snippets.

@EvanLyu732
Created November 10, 2023 02:01
Show Gist options
  • Save EvanLyu732/74de6fb6308f631d94e770fc5b9c38c6 to your computer and use it in GitHub Desktop.
Save EvanLyu732/74de6fb6308f631d94e770fc5b9c38c6 to your computer and use it in GitHub Desktop.
linux monitor process usage using command line
$ watch ps -e -o pid,user,%mem,cmd --sort=-%mem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment