ps -fp
cat /proc//cmdline | sed -e "s/\x00/ /g"; echo
There is more info in /proc/ on Linux, just have a look.
On other Unixes things might be different. The ps command will work everywhere, the /proc stuff is OS specific. For example on AIX there is no cmdline in /proc.