Nicolas Williams writes: > On Sun, Jan 04, 2009 at 11:26:52PM +0100, Roland Mainz wrote: > > ... does anyone have suggestions for which scripts a compilation would > > be usefull ? > > You could analyze boot performance to find the SMF start method scripts > that delay the most dependents by the most time. Those would be the > scripts to target first.
I think that's assuming, of course, that the delay is due to active shell interpretation of the script rather than the work being done by the executables invoked by the script (or deliberate sleep(1) invocations). Otherwise, if active shell work isn't the issue, then that analysis won't reveal useful bits. Do we have _any_ boot time scripts that do any non-trivial work at the shell level? Which ones? It probably won't help you much, but I'd expect class action scripts (used during package install/upgrade) to be where a lot of the script-level work gets done, and even there, it's usually something like nawk that does the heavy lifting, not /sbin/sh. And (unfortunately for this effort), that's mostly being discarded due to IPS. Another *huge* user of shell scripting is LU. But that's closed source and on a dead-end trip as well. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677