On Tue, Jun 30, 2009 at 3:09 PM, David Haller<lists@dhaller.de> wrote:
Hello,
On Tue, 02 Dec 2008, Volker Poplawski wrote:
How do i get the PID of a process by the process-name?
Look at the sourcecode of pidof / pgrep. Basically both programms look through /proc/nnn/{cmdline,exe} and look for matching names.
Along those same lines, strace will get you to the answer even faster a lot of times. And you don't have to have the source handy either. Greg -- Greg Freemyer Head of EDD Tape Extraction and Processing team Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer Preservation and Forensic processing of Exchange Repositories White Paper - http://www.norcrossgroup.com/forms/whitepapers/Forensic%20Processing%20of%20... The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org