title: How to find a process?
body: <p>I need to find some Process in the list of running process by its name.
  I thought, that it's a very simple task, but no...</p>
  
  <p>I read similar questions on this site but still don't found a simple answer. </p>
  
  <p><a href="http://developer.apple.com/library/mac/#documentation/Carbon/Reference/Process_Manager/Reference/reference.html#//apple_ref/doc/uid/TP30000208" rel="nofollow">Process Manager Reference</a> allows to get list of only open <a href="http://developer.apple.com/library/mac/#documentation/Carbon/Reference/Process_Manager/Reference/reference.html#//apple_ref/doc/uid/TP30000208-CH3g-TPXREF107" rel="nofollow">processes</a>. </p>
  
  <p>This <a href="http://www.cocoabuilder.com/archive/cocoa/92971-bsd-processes-with-code.html" rel="nofollow">solution</a> is not bad, but some-wise don't contains needed application in the result list, even if I see it in 'top'.</p>
  
  <p>Anybody knows a working solution of such task?</p>
  
  <p>Thanks!</p>