#!/bin/sh
for pid in `pgrep -f 'TestDaemon.pl'`; do
	pgrep -lf 'TestDaemon.pl' | grep "^$pid" 
	pgrep -lP $pid -f '' | sed 's/ TD/\t/'
done
