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