Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
show process list (ps)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
manioc
n00b
n00b


Joined: 10 Aug 2004
Posts: 5

PostPosted: Fri Oct 08, 2004 3:45 pm    Post subject: show process list (ps) Reply with quote

How do I limit the output of ps to show only the processes that belong to the user? Thanx.
Back to top
View user's profile Send private message
orionrobots
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 289
Location: London, Uk

PostPosted: Fri Oct 08, 2004 4:52 pm    Post subject: First though to mind is use grep Reply with quote

You could simply run the command:
Code:

ps <params> | grep <username>


In fact - using grep you can filter the output of any command for any terms of text.
_________________
Danny Staple, curator of http://orionrobots.co.uk
Adopt an unanswered post initiative https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
Syldorian
n00b
n00b


Joined: 14 Jan 2004
Posts: 31

PostPosted: Fri Oct 08, 2004 7:11 pm    Post subject: Reply with quote

I believe that 'ps -U <username>' would also work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum