On 11/02/2009 09:40 AM, Roshan George wrote:
On Mon, 2009-11-02 at 08:22 +0530, rakhi india wrote:
 >  $ ps aux | grep<process-pattern>
 >
 >  Alternatively, there's also pgrep
 >
 How to find/search the id of a process running background.
 Say, i started the process using '&'   -  $tktalk&
 If i don't know the pid of tktalk , could you let me how to find it.

The answer is in the email you responded to. Use `pgrep`.

Although if you are looking specifically for backgrounded jobs, you could use the bash builtin 'jobs':

$ jobs -l

cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to