logo       

Solaris init: msg#00064

os.solaris.managers.summaries

Subject: Solaris init

Very general questions about init in Solaris for which I'm looking for as much
detail as possible.

The main question deals with the order of forking and execing after init, as
well as the particular processes which are forked and execed (or in some cases
just execed). I need to get a firm handle on how solaris, without
modifications to any of the original init scripts, inits for a non-superuser.

First, what processes are forked and execed; second, in which order. I assume
that, concurrent with the typically unix init, login is f/e'd, and that shell
is e'd following a successful login. Correct? When and where does the
scheduler come into play, or is it's role defined within init? Also what
specific background processes will init f/e after the big ones are taken care
of?

Second, after I understand more about the scheduler with its relation to both
init and init's children, I need to know how it gathers its info related to
shell commands. Does the shell pass the scheduler the name/args of the next
process to be run, or does the shell run the next process, passing back only
the process id and other relevant information to the scheduler. Also, on
Solaris, what is that relevant information? Lastly, how does the scheduler
knows when a running process has blocked _when_ it it blocks?

Thanks for all your help ladies and gents, I hope to be up to speed soon.

Dave
The New Yahoo! Shopping - with improved product search



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise