Is it possible to change the process id in linux operating system. If anyone know, please tell me.
Requirement :actually i want to bring up the back ground process to fore ground , which is being run under the init. So if i can change the process id or parent process id of the process. i can achieve my goal.
Short answer: No.
Long answer: pocess id's(PID) are generated by the system, and are unique, and generated when the app starts. You cannot control the way they are generated...
No, it's not possible to do such a thing on Unix. You might be able to use
fork
to achieve this effect, but you have to tell us what you are trying to achieve.Obviously, like I said before, you "might" be able to use this.