store all the pids in a tmp file name progpidxxxx where xxxx is the pidno then print the /tmp and grep the pidno the text returning the procname or go proc diving (bad idea that) thaxn, bill
"If you're half-evil, nothing soothes you more than to think the person you are opposed to is totally evil." Norman Mailer