bcs_catd(1M) — ADMINISTRATOR COMMANDS
NAME
bcs_catd − cache parsed NIS data for bcs_cat
SYNOPSIS
bcs_catd [-d [-w seconds]| -u cachename[,cachename...]] [-s shmsegsize]
DESCRIPTION
bcs_catd maintains a cache of preparsed data for bcs_cat. The cache uses shared memory segments. bcs_cat provides this NIS information to BCS applications. bcs_catd only maintains caches of passwd and group information.
bcs_catd updates the caches if the ordernumber on the NIS map has changed, if the name of the NIS domain has changed, or if the corresponding passwd or group file’s modification time or size has changed.
-d Become a daemon and regularly check if the caches need updating and update them if necessary.
-w Change the interval for checking for updates, the interval is specified in seconds. The default is 5 minutes.
-u Update the specified cache(s) if necessary then exit. Valid values for cachename are passwd and group.
-s Limit the size of shared memory segments to hold the caches. The size is in bytes. Use this if the kernel parameter SHMMAX is increased and bcs_catd starts using too much memory. By default the size of the shared memory segments is SHMMAX.
One of -d or -u must be specified when starting bcs_catd. The -d and -u options are mutually exclusive.
When started as a daemon, bcs_catd checks for the existence of the file /var/run/bcs_catd.pid. If the pid it contains is an active process, bcs_catd will exit. Otherwise bcs_catd disassociates itself from its controlling terminal, forks a child and the parent exits. The child sets its own process group, and creates a file, /var/run/bcs_catd.pid, containing the daemon’s process id.
bcs_catd uses only as many shared memory segments as necessary to hold the parsed data for a particular map. bcs_catd uses the shared memory keys from 0x42706100 to 0x427061ff for the passwd map, and from 0x42677200 to 0x426772ff for the group map.
FILES
/var/run/bcs_catd.pid
A file containing the process id of the currently running bcs_catd.
/etc/passwd
/etc/group
SEE ALSO
passwd(4), group(4), ypserv(1m)
— Network Information Service