PX(1)

πŸ“¦
version 3.6.12 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’… PX(1) β€” the girlies' guide to px

okay so bestie, welcome to px, living in the General Commands Manual section, and she is that girl. ✨


πŸ¦‹ NAME πŸ¦‹

px β€” list running processes and show process metadata

like. she lists your processes. and then she tells you their whole life story. main character energy fr.


🌸 SYNOPSIS 🌸

px [--debug]
px [--debug] filter
px [--debug] PID

✨ DESCRIPTION ✨

so px lists the processes running on your system, and it sends all of that straight to standard output. πŸ’–

heads up: if stdout is a terminal, the output gets truncated at terminal window width. so if things look chopped, that's why β€” she's not being rude, she's just fitting the vibe of your window. πŸŽ€

With no arguments at all? px lists every single process on the system. all of them. the whole roster. πŸ‘‘

If you give her a filter, the output will only contain the processes matching that filter.

That filter can be a user name, or part of a command line. for example:

  • px java will list all Java processes πŸ“
  • px root will list all of root's processes

And then running px PID shows you the tea β˜• about one specific process:

  • The process tree; parents and children 🌳
  • Start time, run time and CPU usage ⏱️
  • List of other processes started around the same time as this one
  • List of users logged in when the process was started 🫢
  • Where stdin, stdout and stderr is pointing
  • Network connections 🌈
  • IPC connections (sockets, pipes and local network connections) and which processes are at the other end of those πŸ’€

like she really said "let me tell you everything". obsessed.


🧚 PROCESS NAMING 🧚

px tries to be helpful about naming processes, and avoid printing names of various VMs. she's doing her best and honestly? she's slaying. πŸ’…

For example, if you do java -jar foo.jar, px will show this process as foo.jar rather than java. iconic behaviour, no cap.

px parses command lines from:

  • Java
  • Python
  • Node
  • Ruby
  • Various shells
  • Perl

πŸ‘€ SEE ALSO πŸ‘€

ptop(1), pxtree(1)


🌟 HOMEPAGE 🌟

px lives at http://github.com/walles/px


and that's the whole page bestie πŸ’œ this little icon comes to you from Debian, dated August 24, 2018, sitting pretty in PX(1). go run her, she ate and left no crumbs πŸŽ€βœ¨

πŸ“¦ where this page comes from