1 Jul
2009
1 Jul
'09
07:36
On Tuesday 30 June 2009 21:09:02 David Haller 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.
(got my clock set right now :) Well, i was hoping there was a better, more portable version than going through /proc. -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org