cancel
Showing results for 
Search instead for 
Did you mean: 

pid on hp-ux 11.31 v3

 
Jocelyn Dinel
Occasional Advisor

pid on hp-ux 11.31 v3

i know that i can have more than 30000 pid with this version, but when i kill a pid , does this pid can be available after the kill? example i kill -1 3452 , until next reboot does 3452 can be use again by system?

jocelyn dinel
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: pid on hp-ux 11.31 v3

Yes, the PID will go back into the list of PIDs available for system use.

 

It likely won't get used again until it goes through all available PID numbers, starts from the beginning of the list and increments down to that particular number.

Dennis Handly
Acclaimed Contributor

Re: PID reuse on HP-UX 11.31 v3

>Yes, the PID will go back into the list of PIDs available for system use.

 

Right, they can be reused even without a reboot, if you're creating that many processes.

 

So PIDs are only unique at a point in time.