On SunOS there is pargs command that prints the command line arguments passed to the running process.
pargs
Is there is any similar command on other Unix env
On Linux
cat /proc//cmdline
get's you the commandline of the process (including args) but with all whitespaces changed to NUL characters.