Exclude a process from being listed in `top`
- by warren
Is it possible to exclude some processes from being reported by top?
For example, I would like to exclude itself from its listing (ie, I don't want top to show in the process list).
I would also like to be able to exclude processes that do not belong to the user running top (except for root).
Is this possible? If so, how? If not, is there a similar tool that will do what I want (that does not involve running something like ps frequently).