Nov 4, 2017

How to find process created by specific user in Unix/linux

To view only the processes owned by a specific user, use the following command:
top -U [username]
Replace the [username] with the required username
If you want to use ps then
ps -u [username]
OR
 ps -ef | grep <username>
OR
ps -efl | grep <username>
for the extended listing
Another alternative is to use pstree wchich prints the process tree of the user
pstree <username or pid>