Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: email@hidden (Randal L. Schwartz)
- Date: 07 Feb 2003 13:15:08 -0800
>>>>> "Rene" == Rene Tio <email@hidden> writes:
Rene> In contrast, here is Apple's X11:
Rene> PID PPID COMMAND
Rene> 173 1 /System/Library/CoreServices/WindowServer -daemon
Rene> 540 173 /Applications/X11.app/Contents/MacOS/X11 -psn_0_1703937
Rene> 541 540 /Applications/X11.app/Contents/MacOS/X11
Rene> --xquartz-be-xinit -noreset -nolisten tcp -psn_0_1703937
Rene> 543 1 sh /Users/tor/.xinitrc
Rene> 565 543 /usr/X11R6/bin/quartz-wm
Rene> Note that .xinitrc is started directly from the init process (PID 1)
Rene> and does not trace it's ancestry back to a login shell.
No, that's a bad read. I'm almost certain that PID 1 didn't *spawn*
that process. I'm just as almost certain that the parent process
of that process has exited, creating an orphaned process. The rule
is that orphaned processes become "children of init".
Unless OSX is even weirder than I thought. :)
You'll need to watch "ps" very fast to see which process spawned the
xinit shell. I'm guessing its number was "542" there. :)
Rene> Additionally
Rene> I am guessing the Menu bar Applications menu is started from one of
Rene> either process 540 or 541, which again traces it's way back to init
Rene> and not a login shell.
Again, not spawned from init though. Spawned from the login service. Maybe
currently inherited by init, but only through the standard orphaning.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<email@hidden> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.