uustat(1) CLIX uustat(1)
NAME
uustat - Reports uucp status inquiry, cancels uucp commands
SYNOPSIS
uustat [-a]
uustat [-m]
uustat [-p]
uustat [-q]
uustat [-kjobid]
uustat [-rjobid]
uustat [-ssystem] [-uuser]
FLAGS
-a Output all jobs in queue.
-m Report the access status of all machines.
-p Execute a ps -flp for all the process-IDs that are in the lock
files.
-q List the jobs queued for each machine. If a status file exists
for the machine, its date, time and status information are
reported. In addition, if a number appears in () next to the
number of C or X files, it is the age in days of the oldest
C./X. file for that system. The retry field represents the
number of hours until the next possible call. The count is the
number of failure attempts. NOTE: for systems with a moderate
number of outstanding jobs, this could take 30 seconds or more
of real time to execute.
-kjobid Kill the uucp request whose job identification is jobid. The
killed uucp request must belong to the person issuing the uustat
command unless one is the superuser.
-rjobid Rejuvenate jobid The files associated with jobid are touched so
that their modification time is set to the current time. This
prevents the cleanup daemon from deleting the job until the jobs
modification time reaches the limit imposed by the deamon.
-ssys Report the status of all uucp requests for remote system sys.
-uuser Report the status of all uucp requests issued by user.
2/94 - Intergraph Corporation 1
uustat(1) CLIX uustat(1)
DESCRIPTION
The uustat command displays the status of, or cancels, previously
specified uucp commands. It also provides general status on uucp
connections to other systems. When no flags are given, uustat outputs the
status of all uucp requests issued by the current user.
EXAMPLES
1. To list all jobs in the queue:
uustat -a
2. To kill jobid (if you own it or are root):
uustat -k<jobid>
3. An example of the output produced by the -q flag follows:
eagle 3C 04/07-11:07 NO DEVICES AVAILABLE
mh3bs3 2C 07/07-10:42 SUCCESSFUL
The output above tells how many command files are waiting for each
system. Each command file may have zero or more files to be sent
(zero means to call the system and see if work is to be done). The
date and time refer to the previous interaction with the system
followed by the status of the interaction.
4. Output for both the -s and -u flags has the following format:
eaglen0000 4/07-11:01:03 (POLL)
eagleN1bd7 4/07-11:07 S eagle dan 522 /usr/dan/A
eagleC1bd8 4/07-11:07 S eagle dan 59 D.3b2al2ce4924
4/07-11:07 S eagle dan rmail mike
For the two flags above, the first field is the jobid of the job.
This is followed by the date/time. The next field is either an S or
R, depending on whether the job is to send or request a file. This is
followed by the user ID of the user who queued the job. The next
field contains the size of the file, or in the case of a remote
execution (rmail - the command used for remote mail), the name of the
command. When the size appears in this field, the filename is also
given. This can either be the name given by the user or an internal
name (for example, D.3b2alce4924) that is created for data files
associated with remote executions (rmail in this example).
FILES
/usr/spool/uucp/*
2 Intergraph Corporation - 2/94
uustat(1) CLIX uustat(1)
Spool directories
EXIT VALUES
The uustat command exits with a value of 0 if successful and a value of 1
if an error occurs. The exit value is 101 if an error occurs on stat(),
spooldir, or lockfile().
RELATED INFORMATION
Commands: uucp(1)
2/94 - Intergraph Corporation 3