px favicon

px

px tells you what processes are running on your system and how they are interconnected. To install, copy / paste this command line in a terminal: curl -Ls https://github.com/walles/px/raw/python/install.sh | bash It replaces:

  • ps, but with sensible defaults. If you just do "px" you'll get a ps-like output but with the most interesting processes last.
  • pgrep. Running "px root" lists only root's processes, running "px java" lists only java processes.
  • pstree. Running "px 1234" shows PID 1234 in a tree, plus other information about that process. What other processes does it have pipes open to for example?
  • top. Running "px --top" or invoking px as "ptop" will get you a top-like display.