logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

px — list running processes and show process metadata

Description

       The  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,  ‘px  java’  will  list  all  Java
       processes, and ‘px root’ will list all of root's processes.

       Running pxPID 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

Homepage

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

Debian                                           August 24, 2018                                           PX(1)

Name

       px — list running processes and show process metadata

Process Naming

px tries to be helpful about naming processes, and avoid printing names of various VMs.

       For example, if you do ‘java -jar foo.jar’, px will show this process as ‘foo.jar’ rather than ‘java’.

       px parses command lines from:

          Java

          Python

          Node

          Ruby

          Various shells

          Perl

See Also

ptop(1), pxtree(1)

Synopsis

px                                               [--debug]
       px                                            [--debug]                                            filterpx [--debug] PID

See Also