in reply to getting the exact string used to call a perl script

You should be able to read the full command line from /proc/$PID/cmdline (this may depend on which version of Solaris you're using)

Replies are listed 'Best First'.
Re^2: getting the exact string used to call a perl script
by Perl Mouse (Chaplain) on Oct 12, 2005 at 16:00 UTC
    You should be able to read the full command line from /proc/$PID/cmdline
    But only after the shell processing the quotes. What you'll see in /proc/$PID/cmdline are the things passed in execve, separated by NUL characters.
    Perl --((8:>*