(posted to IBM-MAIN and MVS-OE)

All, 

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? 

Thanks!

Example 1
1st PID  0000 0001 decimal 1 (BPXOINIT) 

2nd PID  0100 0154 decimal 16777556  PPID=1

3rd PID  0100 0145 decimal 16777541   PPID=16777556  

4th PID  0000 0161 decimal 353   PPID=16777541   

Example 2
1st  PID  0000 000A decimal 10 (INETD) 

2nd  PID  0300 0151 decimal 50331985  PPID=10

3rd  PID  0300 0148 decimal 50331976  PPID=50331985    

4th  PID  0400 01A7 decimal 67109287  PPID=50331976      


Example 3
1st PID  0000 0001 decimal 1 (BPXOINIT) 

2nd PID  0500 017E decimal 83886462  PPID=1

3rd PID  0500 0167 decimal 83886439   PPID=83886462  

4th PID  0300 01D6 decimal 50332118   PPID=83886439 


----------------- 
Scott Wm. Jackson
Principle Software Engineer
Informatica Corporation
----------------- 
It's here... PowerCenter For Z/OS
It's here... PowerCenter For z/Linux



----------------------------------------------------------------------
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

Reply via email to