Ways Display Procs

Problem

You want to display processes, commands within the process tree.



Solution

There are a number of ways to search the process tree.

Here are a few:

Show all processes for user apache.


ps -fu apache

Show all process on a given terminal (try command tty to see your own)


ps -ftpts/0



Example


Show a given process


ps -fpPID



Reference

[tags], Unix Coding School[/tags]



Previous Post

Leave a Reply

Your email address will not be published. Required fields are marked *