[Chicago-talk] pid files and whatchamacalits.

Steven Lembark lembark at wrkhors.com
Tue Dec 9 22:33:51 CST 2003

-- Jim Thomason <jthomasoniii at yahoo.com>

> If you're guaranteed that the script has a unique
> name, you could always just do a ps (however you
> prefer) and check to see if it's running in there.
> Still not exactly pretty, but it saves you the temp
> file.

Is there a logic race in the process table code? I think
there might be if you use the perl lib's to handle it
(don't know if qx introduces enough delay to possibly
thwart ps).

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508

More information about the Chicago-talk mailing list