SUMMARY: general sysconfig questions

From: Peyton Bland <bland_at_umich.edu>
Date: Thu, 14 Dec 2000 09:39:18 -0500

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" <tpb_at_doctor.zk3.dec.com>
"Colin Walters" <walters_at_zk3.dec.com>
Ann Majeske USG <Ann.Majeske_at_compaq.com>
"John J. Francini" <francini_at_zk3.dec.com>
Alex Harkema <HarkemaA_at_vertis.nl>

...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_at_umich.edu
URL: http://www.med.umich.edu/dipl/
Received on Thu Dec 14 2000 - 14:40:31 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT