From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97680481214737.tru64-unix-managers.marc@archive.invalid> From: Peyton Bland Date: Thu, 14 Dec 2000 14:39:18 +0000 To: tru64-unix-managers Subject: SUMMARY: general sysconfig questions X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97680481214737 Hi, ========== original posting =========== I have some general questions that have come up in the course of doing system tuning and configuration (Tru64 5.0A running on an XP1000)... 1. The documentation says not to manually edit the /etc/sysconfigtab file. I'll have to admit to having done this a couple of times rather than use the accepted methods. Although I was very careful to maintain the structure of the file -- according to the stanza(4) man page -- I'm curious what I need to look out for or repair in order to avoid any obscure problems. 2. I have noticed some discrepancies in the naming of attributes: "_" vs "-" in some of the names. For example, # sysconfig -q proc max_proc_per_user proc: max_proc_per_user = 1024 # sysconfig -q proc max-proc-per-user proc: max-proc-per-user = 1024 # grep max.proc.per.user /etc/sysconfigtab max-proc-per-user=1024 I guess this is Tru64's way of saying that it doesn't matter. Also, I recall seeing some attributes like this within the same entry... some-param=42 some_param=42 but I can't remember where I (allegedly) saw this. 3. Finally, I assume that spaces on either side of the "=" in a stanza file attribute are ignored... ======================= My thanks to the following... "Dr. Tom Blinn, 603-884-0646" "Colin Walters" Ann Majeske USG "John J. Francini" Alex Harkema ...and here's what I learned from them... Q1: No problem with manual editing as long as the stanza structure is preserved. Just don't duplicate a stanza. dxkerneltuner(8) can be used to manipulate /etc/sysconfigtab. Q2: The "-" is deprecated; the "_" should be used instead. According to Tom, in V4.0G, for instance, sysconfig -q proc shows a few in both forms and in V5.1, only the underscore form is displayed. Colin noted that the sys_attrs* manpage is the definitive source on attributes. (Start with "man sys_attr".) He also suggested looking at "The Configuration and Tuning" manual; start with http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html . (I am VERY thankful that Compaq has put their docs on-line!) Q3: White space is only important in strings and where required at the beginning of a line. Thanks again, Peyton University of Michigan, Radiology voice: 734-647-0849 FAX: 734-764-8541 e-mail: bland@umich.edu URL: http://www.med.umich.edu/dipl/