daemon pid capture