1825711 Members
3120 Online
109686 Solutions
New Discussion

PPID Clarification

 
PPID Clarification
New Member

PPID Clarification

Hi folks,

Can any body clarify me the difference between
PID and PPID ?

Cant we kill PPID value ?

When I am killing PPID (kill -9 PPID) my system is rebooting automatically...Is this is an issue or expected ?

When I am killing PID (kill -9 PID) it is working fine..

Appreciate your comments and reply.

Regards/Sravan
2 REPLIES 2
john123
Trusted Contributor

Re: PPID Clarification

What is the PPID that you are trying to kill.
You should not kill a PPID if it is 1.
1 is init process and it should not be killed..

Regards
John
Dennis Handly
Acclaimed Contributor

Re: PPID Clarification

PID is the process ID.
PPID is the parent of the current process.

Why would you want to kill the parent? Is it a zombie master?

>When I am killing PPID (kill -9 PPID) my system is rebooting automatically. Is this is an issue or expected?

It is most likely expected. It depends on what PPID is.

>John: 1 is init process and it should not be killed.

Since init can't be killed, that isn't likely.