Re: Retrieve process ID from process name

2010-11-23 Thread Mike McClain
On Tue, Nov 23, 2010 at 08:59:42AM +0100, Alberto Luaces wrote: > "T. Alex Chen" writes: > > > I am trying to retrieve the process ID from a process' name, optionally > > with its command parameters. > > I look up the man page of 'sysctl' and the use of this API seems to be > > discouraged. It p

Re: Retrieve process ID from process name

2010-11-23 Thread Alberto Luaces
"T. Alex Chen" writes: > I am trying to retrieve the process ID from a process' name, optionally with > its command parameters. > I look up the man page of 'sysctl' and the use of this API seems to be > discouraged. It points the /proc file system. > The /proc does contains all the running proce