TCPIP$UCP_HELP.HLB  —  sysconfig
    SYNOPSIS

      sysconfig { -c  | -d  } subsys

      sysconfig { -m  | -s  } [subsys]...

      sysconfig { -q  | -Q  } subsys [attribute]...

      sysconfig -r  subsys attrib=value [attrib=value]...

1  –  FLAGS

    -c             Configures the specified subsystem by initializing
                   its attribute values and, possibly, loading it
                   into the kernel.

    -d             Displays the attribute settings in the
                   SYSCONFIGTAB file for the specified subsystem.

    -m             Queries the mode for the specified subsystems. A
                   subsystem's mode can be static or dynamic. If you
                   omit the subsystem name, sysconfig displays the
                   mode of all the configured subsystems.

    -q             Queries attribute values for the configured
                   subsystem specified by subsystem-name. If you
                   omit attribute-list, values of all the specified
                   subsystem's attributes are displayed.

    -Q             Queries information about attributes of the
                   configured subsystem specified by subsystem-name.
                   The information includes the attribute data type,
                   the operations supported, and the minimum and
                   maximum values allowed for the attribute. Note
                   that the minimum and maximum values means length
                   and size for attributes of char and binary types,
                   respectively. If you omit the attribute-list,
                   information about all attributes in the specified
                   subsystem is displayed.

    -r             Reconfigures the specified subsystem. You must
                   supply the subsystem-name argument and the
                   attribute-list argument when you use this flag.

    -s             Queries the subsystem state for the specified
                   subsystems. If you omit the subsystem name,
                   sysconfig displays the state of all the configured
                   subsystems.

2  –  DESCRIPTION

    The sysconfig command is used to query or modify the kernel
    subsystem configuration. You use this command to reconfigure
    subsystems already in the kernel and to ask for information about
    (query) subsystems in the kernel.

    A subset of kernel subsystems can be managed using the sysconfig
    command. This command allows you to modify the value of
    subsystem attributes, so long as the subsystem supports run-time
    modifications.

    The first argument to the sysconfig command is the subsystem-
    name argument. The subsystem-name argument names the subsystem
    on which you want to perform the operation specified by one of
    the required flags, such as the -q (query attributes) flag. The
    subsystem-name argument is required for all flags except -s and
    -m. If you omit the subsystem name when you use one of these
    flags, the sysconfig command displayed information about all
    loaded subsystems.

    The attribute-list argument lists attribute names and, depending
    on the operation, attribute values. For reconfigure operations
    (-r), the attribute-list argument has the following format:

      attribute1=value1 attribute2=value2...

    You cannot include spaces between the attribute name, the equal
    sign (=), and the value.

    For query attribute (-q) operations, the attribute-list has the
    following format:

      attribute1 attribute2...

    The attribute-list argument is required when you use the -r flag
    and is optional with the -q flag. Any attribute-list specifies
    with other flags is ignored by the sysconfig command.

    If you want to modify the value of a subsystem attribute, you
    use the -r (reconfigure) flag. When you use the -r flag, the
    sysconfig command modifies the named attributes by storing
    the value you specify in them. The modifications take effect
    immediately. Changes are only to the running system.

    To get information about subsystem attributes, use either the
    -q flag or the -Q flag. You can specify an attribute list with
    both these flags. When you use the -q flag, the sysconfig command
    reads the value of attributes from the kernel and displays those
    values on your local display. When you use the -Q flag, the
    sysconfig command displays the following information about either
    each attribute in the subsystem or, if specified, each attribute
    in the attribute-list:

    o  Attribute datatype.

    o  Operations supported by the attribute. This information
       indicates, for example, whether you can reconfigure the
       attribute using the sysconfig -r command.

    o  Minimum and maximum allowed attribute value.

    To get information about the state of subsystems, use the -
    s flag. This flag provides a list of the subsystems that are
    currently loaded and configured into the kernel. If you specify
    subsystem-name, the command displays information about the state
    of that subsystem. Each subsystem can have one of three states:

    o  Loaded and configured (available for use)

    o  Loaded and unconfigured (not available for use, but still
       loaded)

       This state applies only to static subsystems, which can be
       unconfigured but cannot be unloaded.

3  –  EXAMPLES

    1. To display subsystems and their status, use the command as in
       the following example:

       TCPIP> sysconfig -s
       inet: loaded and configured
       net: loaded and configured
       socket: loaded and configured
       iptunnel: loaded and configured
       ipv6: loaded and configured
       snmpinfo: loaded and configured

    2. To display subsystem attributes and their values, use the
       command as in the following example:

       TCPIP> sysconfig -q net
       net:
       ifnet_debug = 0
       ifqmaxlen = 1024
       lo_devs = 1
       lo_def_ip_mtu = 4096
       nslip = 0

    3. To query the state of a particular system, use the command as
       in the following example:

       TCPIP> sysconfig -s net
       net: loaded and configured

    4. To reconfigure attribute values of a particular system, use
       the command as in the following example:

       TCPIP> sysconfig -r inet tcp_sendspace=122880 tcp_recvspace=122880
       tcp_sendspace: reconfigured
       tcp_recvspace: reconfigured
Close Help