System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

ps

Information about running processes. More information: https://www.unix.com/man-page/osx/1/ps/.
  • List all running processes:
    ps aux
  • List all running processes including the full command string:
    ps auxww
  • Search for a process that matches a string:
    ps aux | grep {{string}}
  • Get the parent PID of a process:
    ps -o ppid= -p {{pid}}
  • Sort processes by memory usage:
    ps -m
  • Sort processes by CPU usage:
    ps -r

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.

Other Projects

This TLDR page is also found in other projects: