Skip to content

Instantly share code, notes, and snippets.

@kaizen-soze
Created July 24, 2021 00:01
Show Gist options
  • Save kaizen-soze/abd56cedf45dab0d8eac9ba2b74593f8 to your computer and use it in GitHub Desktop.
Save kaizen-soze/abd56cedf45dab0d8eac9ba2b74593f8 to your computer and use it in GitHub Desktop.
Linux commands

View server cpu usage

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

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