Hi folks!
I am looking for a way to get all processes from a certain user.
I am doing this with: 'ps -ef | grep -i <username>'
Problem is that I receive a lot of stuff that I actually don't want to have like '-ksh', 'ssh' 'bash', etc. All I want are the shellscripts and programs started by a certain user (ok, the things listed above are programs too, but I don't want them to be in the displayed list).
Is there a way to implement this? Any tips are welcome!
Cheers
frag
patrick.metz@epost.de
I am looking for a way to get all processes from a certain user.
I am doing this with: 'ps -ef | grep -i <username>'
Problem is that I receive a lot of stuff that I actually don't want to have like '-ksh', 'ssh' 'bash', etc. All I want are the shellscripts and programs started by a certain user (ok, the things listed above are programs too, but I don't want them to be in the displayed list).
Is there a way to implement this? Any tips are welcome!
Cheers
frag
patrick.metz@epost.de