3 echo $(basename $0): requires a user id for which to search.;
6 tempname="$(mktemp "$TMP/zz_trash.findme.XXXXXX")"
7 ps wuax | grep "$1[ ]*[0-9]" | sed -e '
9 /\/bin\/sh.*\/scripts\/find/d
10 /ps -uxg/d' >$tempname
11 # sed command eliminates field ambiguity for STAT field
12 cat $tempname| sed -e '/[RSD] N/s/[RSD] N/NUN/' |
15 print "process #" $2, "started", $9 " "
16 if ($9 ~ /^[A-Za-z]/) {
21 print $12, $13, $14, $15, $16, $17 "\n"