First check the process it of the process then u can extract all the info related to that process from /proc
For full path/name of the running process
In place of process id give ur process id for the process u r running
cat /proc/PROCESS_ID_NO/cmdline