rpc.cmsd(1)
NAME
rpc.cmsd − calendar manager service daemon
SYNOPSIS
rpc.cmsd [−d] [−s] [−g hhmm]
DESCRIPTION
The rpc.cmsd is a small database manager for appointment and resource-scheduling data. It’s primary client is dtcm, a productivity tool included with CDE. rpc.cmsd is normally invoked by inetd(1M) when a dtcm request is recieved.
By default, rpc.cmsd does garbage collection by writing the internal calendar image out to the calendar file at 4:00 am each day. If the −g option is specified, rpc.cmsd does garbage collection at the specified time intead of the default time.
OPTIONS
The following options are available:
−d Enables debugging output.
−s Runs rpc.cmsd in the foreground. This option should be used when rpc.cmsd is invoked manually for debugging purposes.
−g hhmm
Specifies the time of garbage collection in the 24 hour system. hh is the hour number (0-23) and mm is the minute number (00-59). The default is 0400.
OPERANDS
None.
STDIN
Not used.
INPUT FILES
The database format used by the rpc.cmsd is private.
ENVIRONMENT VARIABLES
None.
RESOURCES
None.
ASYNCHRONOUS EVENTS
None.
STDOUT
When the −d option is used, rpc.cmsd writes the debugging information to stdout.
STDERR
None.
OUTPUT FILES
None.
EXTENDED DESCRIPTION
None.
EXIT STATUS
When the process exits, rpc.cmsd exits with the status of the exited child. Otherwise, the following exit values are returned:
0 Normal termination. A zero exit status means rpc.cmsd has received a HUP signal, and terminated normally. serving the session.
-1 Abnormal termination. Permissions on the database file or directory were incorrect.
1 RPC memory managment errors have prevented successful operation, a socket operation failed in a nonrecoverable way, or could not create a udp service.
2 Could not create a TLI connnection.
3 Could not register the service.
CONSEQUENCES OF ERRORS
The rpc.cmsd utility takes the standard action for all signals.
APPLICATION USAGE
To run rpc.cmsd in standalone mode, the user must be root.
EXAMPLES
None.
SEE ALSO
dtcm(1), dtcm_lookup(1), dtcm_delete(1), dtcm_insert(1), sdtcm_convert(1), inetd(1M)
SunOS 1.0.1 — Last change: 15 Oct 1994