In a recent note, Jackson, Scott said: > Date: Wed, 10 Jan 2007 07:10:01 -0800 > > A coworker just asked a question about UNIX Systems Services Process > Identifiers (PIDs) that I do not have ready answer. > > Does the PID contain "information" relevant to the process? After > looking at several PIDs we noticed that looking at the hexadecimal > representation of the PID it looked like it may contain some sort of > "status" flags in the first halfword... > > Example of some PIDS that contain, various times, 0x0100, 0x0300, and > 0x0500. In others there are 0x0200 .I couldn't find anything in the > POSIX standards or IBM docs... (I'm running 1.7 of z/OS FWIW)... I also > didn't see these patterns in z/Linux or other OS types... Any meaning to > these or am I seeing things? > This was explained on MVS-OE many years ago. IIRC (poorly), the right two bytes are sequential, similar to the customary UNIX PID. The leftmost byte is an attempt to insure long-term uniqueness (I'm not convinced it succeeds.) The remaining byte is reserved for sysplex use.
-- gil -- StorageTek INFORMATION made POWERFUL ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

