HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
setoncenv(1M) setoncenv(1M)
nfs_write_error_to_cons_only
Used to enable or disable logging messages to both the system console and
syslog.
The
setoncenv command recognizes the following configuration variable names for the NFS logging sub-
system:
CYCLE_FREQUENCY
[number]
Specifies how often, in hours, the log files are cycled. This variable is used to insure that
the log files do not get too large.
IDLE_TIME [number]
Specifies the amount of time, in seconds, the daemon,
nfslogd should sleep while waiting
for more information to be placed in the buffer file. This variable also determines how often
the configuration file will be re-read.
MAX_LOGS_PRESERVE
[number]
The
nfslogd daemon periodically cycles its logs. This variable specifies the maximum
number of log files to save. When
MAX_LOGS_PRESERVE
is reached, the oldest files will
be overwritten as new log files are created. These files will be saved with a numbered
extension, beginning with filename.0. The oldest file will have the highest numbered exten-
sion up to the value configured for
MAX_LOGS_PRESERVE
.
MIN_PROCESS_SIZE [
number]
Specifies the minimum size, in bytes, that the buffer file must reach before processing the
work information and writing to the log file.
START_NFSLOGD [0 | 1]
Used to enable or disable the nfslogd daemon by /sbin/init.d/nfs.server
.
This variable will be obsolete in a future release.
UMASK [mode]
Sets the file mode for the log files, work buffer files and file handle mapping database.
The
setoncenv command recognizes the following configuration variable names for the NIS subsystem:
MAX_NISCHECKS [number]
The maximum number of times the NIS client should attempt to contact an NIS server
before failing. This variable is used during system startup.
NIS_CLIENT [0 | 1]
Used to enable or disable the NIS client during system startup. Can either be 0 to disable
or 1 to enable the service.
NIS_DOMAIN [domain_string]
Used to set the domain name by
/sbin/init.d/nis.server
and
/sbin/init.d/nis.client
.
NIS_MASTER_SERVER
[0 | 1]
Used to enable or disable the NIS Master Server by /sbin/init.d/nis.server. Can either be 0
to disable or 1 to enable the service.
NIS_SLAVE_SERVER
[0 | 1]
Used to enable or disable the NIS Slave Server by
/sbin/init.d/nis.server. Can
either be 0 to disable or 1 to enable the service.
SHADOW_MODE [0 | 1]
Enables and disables support for shadow passwords in NIS. Can either be 0 to disable or 1
to enable shadow password support.
YPBIND_OPTIONS [option_string]
The run time arguments for the
ypbind daemon used by
/sbin/init.d/nis.client.
YPPASSWDD_OPTIONS [option_string]
The run time arguments for the
rpc.yppasswdd daemon used by
/sbin/init.d/nis.server.
YPSERV_OPTIONS [option_string]
The run time arguments for the ypserv daemon used by
/sbin/init.d/nis.server.
368 Hewlett-Packard Company − 7 − HP-UX 11i Version 3: February 2007