* SUMMARY: Range of PIDs generated on Tru64 Unix cluster
@ 2002-08-09 16:57 Maglinger, Paul
0 siblings, 0 replies; only message in thread
From: Maglinger, Paul @ 2002-08-09 16:57 UTC (permalink / raw)
My deepest appreciation to Bluejay Adametz, Dan Price, and Dr. Tom for their
replies. The answer I was looking for appears below.
> But what is the numerical range of values for PIDs (zero through ??????)
> for each node and at what point do they start over?
Beats me. I'm not even sure it's predictable -- after all, there
are some security exploits that depend on PID number being very
predictable -- I think we deliberately randomize them, but I'd
have to go read things like process creation code to be sure.
You can assume a PID will fit in an "int" (32 bits) and I believe
the representation assures that the value never exceeds 31 bits,
and you can infer that from the definition I pointed you to. So
I believe the upper bound is 2 to the 32nd power less 1.
Tom
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-09 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-09 16:57 SUMMARY: Range of PIDs generated on Tru64 Unix cluster Maglinger, Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox