Dave's Brain

Browse - Computer Tips - How can I get detailed info about the processes owned by a certain

Date: 2012aug1
OS: Linux
Keywords: bash

Q.  How can I get detailed info about the processes owned by a certain
user on the command line?

A.  Use pgrep to find the processes then ps for the details:

ps -fp $(pgrep -u USERID)
Where USERID is the userid you are interested in.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.