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]
 ps -ef | grep <username>
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>

Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...