Re: Hidden process for init (PID 1)? [message #34254 is a reply to message #34253] |
Wed, 17 December 2008 12:24 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi signal11,
Quote: |
The only problem I have, and what my question was about, is whether I have to expect that there will be one host PID (which in my guess would correspond to init in the VE) that will not follow the 'offset by 1024' rule.
|
As maratrus has already said above in general you can _not_ relay on the "offset by 1024" rule for every process, not only "init". Moreover in recent dev-t kernels (2.6.26-x) rule "offset by 1024" almost never works.
BTW, /proc/$PID/status will show you both pid and vpid, so you can you this info for your investigations, for example:
# cat /proc/27179/status |egrep -i "env|pid"
Pid: 27179
PPid: 24599
TracerPid: 0
envID: 101
VPid: 28203
--
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|