|PX(1)||General Commands Manual||PX(1)|
px — list running
processes and show process metadata
px utility lists processes running on
the system, to the standard output. If stdout is a terminal, output will be
truncated at terminal window width.
Without any arguments,
px lists all
processes on the system.
If you specify a filter the output will contain only processes matching that filter.
The filter can be a user name or part of a
command line. For example, ‘
will list all Java processes, and ‘
root’ will list all of root's processes.
px PID will
show you information about a given 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
px tries to be helpful about naming
processes, and avoid printing names of various VMs.
For example, if you do ‘
px will show this process as
foo.jar’ rather than
px parses command lines from:
- Various shells
px lives at
|August 24, 2018||Debian|