uudemon.admin Command
Purpose
Provides periodic information on the status of BNU file transfers.
Syntax
uudemon.admin
Description
The /usr/sbin/uucp/uudemon.admin command is a shell procedure that mails status information about the Basic Networking Utilities (BNU) activities to the uucp login ID at intervals specified in the /var/spool/cron/crontabs/uucp file. The command executes both the uustat -p and the uustat -q commands:
- The -p flag instructs the uustat command to run the ps -flp command (process status, which generates a full, long list of specified process IDs) for all process ID (PID) numbers in the lock files.
- The -q flag lists the jobs currently queued to run on each system. These jobs either are waiting to execute or are in the process of executing. If a status file exists for the system, its date, time, and status information are reported.
Execute the uudemon.admin command at least once a day. The uudemon.admin command is not enabled when you install the BNU program. To run this command automatically, edit the /var/spool/cron/crontabs/uucp file, removing the comment character (#) from the beginning of the line that governs running the uudemon.admin command.
Examples
To run the uudemon.admin command automatically, edit the /var/spool/cron/crontabs/uucp file and remove the comment character (#) from the beginning of the uudemon.admin command line. Change:
#48 8,12,16 * * * /usr/bin/sh -c
"/usr/sbin/uucp/uudemon.admin > /dev/null"
to:
48 8, 12, 16 * * * /usr/bin/sh -c "/usr/sbin/uucp/uudemon.admin > /dev/null"
Files
Item | Description |
---|---|
/usr/sbin/uucp/uudemon.admin | Contains the uudemon.admin command and the configuration files for BNU. |
/etc/locks/* | Contains lock files which prevent multiple uses of devices and multiple calls to systems. |
/var/spool/cron/crontabs/uucp | Schedules BNU jobs, including the uudemon.admin command, for the crondaemon. |