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
This will do the trick:
xargs -0 < /proc//cmdline
Without the xargs, there will be no spaces between the arguments, because they have been converted to NULs.