Update I found a
Unix FAQ which says that the reason
$0 works is that some
ps commands look at
ARGV in the processes address space, while other
ps commands actually check a processes u-area and this cannot be directly modified save for a system call or perhaps the
setproctitle() utility (which explains why the earlier post said process title, not process name)
However, both /usr/ucb/ps and /usr/bin/pc both fail to give me the new $0under Solaris... so I think I will try GNU ps... wish me luck