[distcc] Probs with distcc

Dag Wieers dag at wieers.com
Tue Dec 2 12:05:14 GMT 2003


On Mon, 1 Dec 2003, AthlonRob wrote:

> Anyway, I recently learned of pgrep.  It's an excellent way to figure
> out if something is running or not.  pgrep outputs the PID of anything
> matching the regex you give it.
> 
> rob at duron:~$ pgrep distccd
> 4388
> 10995
> 11006
> 11260
> 11292
> 11334
> 11348
> 11368
> 11372
> 11437
> 11455

Which is the same as 'pidof', with the difference that pidof does a 
full string-match and not a regexp-match I guess. In most cases you 
want the first anyway.

pidof is usually used by the sysv-scripts.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]




More information about the distcc mailing list