A few comments: ------------------------------------------------------------- Section 1.5 Are milestones the same as run levels? 0. Fix typo "none, single-user, multi-user, multi-user-default, all " ^^^^^^^ This should be multi-user-server ------------------------------------------------------------- Section 1.12 Where are SMF logs? Do I need to rotate them?
1. There should be a reference to /etc/svc/volatile. /etc/svc/volatile Directory where svc.startd stores log files in early stages of boot, before /var is mounted read-write. 2. You wrote: You can see the filename of the log for any service by invoking # svcs -x <service> This doesn't work for services that are disabled. ------------------------------------------------------------- Section 1.13 Location of SMF files 3. Add "/etc/svc - repositories, logs" ------------------------------------------------------------- Section 1.14 Other documentation for SMF outside the man pages 4. Add Solaris 10 System Administrator Collection >> System Administration Guide: Basic Administration "http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5rq?q=817-1985&a=view" ------------------------------------------------------------- Section 2.13 How do I find out what is my system's default milestone? 5. Fix typo "If options/milestone does not exist, the default milstone is "all"." ^^^^^^^^ ------------------------------------------------------------- Section 2.14 How do I leave my current milestone? 6. Replace "# svcadm <new milestone>" by "# svcadm milestone <new milestone>" ------------------------------------------------------------- Section 2.16 How do I find out what processes are associated with my service? 7. I prefer "svcs -pv" as it also returns the contract ids. ------------------------------------------------------------- Section 2.17 How do I find see the process privilege sets of my service? 8. Fix title "How do I find see" ^^^^^^^^ ------------------------------------------------------------- Section 2.18 How do I assign my service to run in a project? 9. You wrote "In general, you should not create this property just by itself;" but what is the property you're referring to? -------------------------------------------------------------- Nice work! -- Renaud -------- Original Message -------- Subject: [smf-discuss] SMF FAQ Update From: Christine Tran <christine.t...@sun.com> To: smf-discuss at opensolaris.org Cc: Christine.Tran at Sun.COM Date: Fri Mar 30 2007 00:35:35 GMT+0200 (CEST) > > I have attached the proposed changes and addition to the SMF FAQ. > delta.txt is the change, smf_faq_next.txt is the whole thing. > > * denotes changes to the original. > X denotes proposal to withdraw. > No mark is new. > > I want to withdraw 3.12 because the description for this case is > confined, and the answer given is unsatisfactory. > > I have doubts about 1.13, I think saying that /var/svc/log is the > location for SMF log is unnecessary. > > I do not want to see this FAQ become the kitchen sink in that at every > revision more stuff is thrown in but nothing is ever taken out. There > should be an attempt to keep this relevant and up-to-date. A user > should not have to slog through pages of out-dated information to find > one thing he needs. So, I'm all for trimming, trimming, and trimming. > > I realize there are *still* stuff from Bernd's old suggestion list that > I have not included. I just don't have time. Everything new has been > tested, and as far as I can tell, they work. > > Additions are made by appending to the old section to make it easy on > whoever has to update the FAQ page. Therefore, you may not see > questions presented in the most logical order. For example, Section 1. > GENERAL starts out very nicely with files, directories, and commands, > and then leaps a mile to end up with location of files and > documentation. I'm sorry about that, it just takes too much work move > the questions around and doctor up the numbers. > > Please send comments to smf-discuss, I don't need to be cc'd. > > Thanks! > > CT > > ------------------------------------------------------------------------ > > 1. GENERAL > * 1.3 Short listing of relevant SMF man pages > * 1.5 Are milestones the same as run levels? > 1.12 Where are SMF logs? Do I need to rotate them? > 1.13 Location of SMF files > 1.14 Other documentation for SMF outside the man pages > > > 2. ADMINISTRATIVE > 2.13 How do I find out what is my system's default milestone? > 2.14 How do I leave my current milestone? > 2.15 How do I create my own milestone? > 2.16 How do I find out what processes are associated with my service? > 2.17 How do I find see the process privilege sets of my service? > 2.18 How do I assign my service to run in a project? > 2.19 How do I set environment variables for my service? > > > 3. TROUBLESHOOTING > X 3.12 Why is network/physical hanging? > > 4. WRITING SMF MANIFESTS > * 4.1 How do I write an SMF manifest? > 4.7 What does a timeout_seconds value of '0' or -1' mean? > 4.8 What is the inetconv property group used for? > 4.9 How do I restrict my service to have only the privileges it needs? > 4.10 How do I assign my service to run in a project in a manifest? > 4.11 Where do I put manifests that I've written? > > > ------------------------------------------------------------------------ > > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org