top of page
List processes

To list processes, use the ps operator. If no arguments are included, you will get all processes. This command lists processes whose command line contains 'postgres'.

Screenshot from 2020-06-15 17-58-28.png

The ps operator produces a stream of Process objects. These can be piped to other commands for further processing. For example, this command sends signal 9 to all processes owned by djt:

​

​

ps -u djt | map (p: p.signal(9))

bottom of page