Can any one tell me is there any problem in reading the /proc/#/status file for finding out the exact process name..???
What is your idea of a process name? the executable image name it is running, the user name?
/proc/PID/status will always give you the name of the program (example: "cat") that started the process you're seeing. Even if cat changed his cmdline with prctl()/PR_SET_NAME the status would still be "cat".
The executable image name
thanks