uustat(1)

NAME
uustat - UUCP status inquiry and control

SYNOPSIS
uustat -a

uustat [ -s system ] [ -u user ] [ -o hours ] [ -y hours ]

uustat [ -k jobid ] [ -r jobid ]

uustat -q

uustat -m

uustat -p

DESCRIPTION
The uustat command can display various types of status information about the UUCP system. It can also be used to cancel or rejuvenate requests made by uucp (1) or uux (1). By default uustat displays all jobs queued up for the invoking user, as if given the -u option with the appropriate argument.

OPTIONS
The following options may be given to uustat.

-a  List all queued jobs.

-s system
    List all jobs queued up for the named system. This option may be specified multiple times, in which case all jobs for all the systems will be listed. The -u, -o, and -y options may be used to restrict which jobs are listed.

-u user
    List all jobs queued up for the named user. This option may be specified multiple times, in which case all jobs for all the users will be listed. The -s, -o, and -y options may be used to restrict which jobs are listed.

-o hours
    List all queued jobs older than the given number of hours. The -s, -u, and -y options may be used to further restrict which jobs are listed.

-y hours
    List all queued jobs younger than the given number of hours. The -s, -u, and -o options may be used to further restrict which jobs are listed.

-k jobid
    Kill the named job. The job id is shown by the -s, -u, -o, or -y options, as well as by the -j option to uucp (1) or uux (1). A job may only be killed by the user who created the job, or by the UUCP administrator or the superuser. The -k option may be used multiple times on the command line to kill several jobs.

-r jobid
    Rejuvenate the named job. This will mark it as having been invoked at the current time, affecting the output of the -o or -y options and preserving it from any automated cleanup daemon. The job id is shown by the -s, -u, -o, or -y options, as well as by the -j option to uucp (1) or uux (1). A job may only be rejuvenated by the user who created the job, or by the UUCP administrator or the superuser. The -r option may be used multiple times on the command line to rejuvenate several jobs.

-q  Display the status of commands, executions and conversations for all remote systems for which commands or executions are queued.

-m  Display the status of conversations for all remote systems.

-p  Display the status of all processes holding UUCP locks on systems or ports.

-x type
    Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucp-proto, proto, port, config, spooldir, execute, incoming, outgoing. Only abnormal, config, spooldir and execute are meaningful for uustat. Multiple types may be given, separated by commas, and the -x option may appear multiple times. A number may also be given, which will turn on that many types from the foregoing list; for example, -x 2 is equivalent to -x abnormal,chat.

-I file
    Set configuration file to use. This option may not be available, depending upon how uustat was compiled.

EXAMPLES
    uustat -a
Display status of all jobs. A sample output line is as follows:
    bugsA027h bugs ian 1992-04-01 13:50:04 Executing rmail ian@airs.com (sending 1283 bytes)
The format is
    jobid system user queue-date command (size)
The jobid may be passed to the -k or -r options. The size indicates how much data is to be transferred to the remote system, and is absent for a file receive request. The -s, -u, -o, and -y options also produce output in the above format.
    uustat -q
Display status for all systems with queued up commands. A sample output line is as follows:
    bugs 4C (1 hour) 0X (0 secs) 1992-04-01 14:45:47 Dial failed
This indicates the system, the number of queued commands, the age of the oldest queued command, the number of queued local executions, the age of the oldest queued execution, the date of the last conversation, and the status of that conversation.
    uustat -m
Display conversation status for all remote systems. A sample output line is as follows:
    bugs 1992-04-01 15:51:30 Conversation complete
This indicates the system, the date of the last conversation, and the status of that conversation. If the last conversation failed, uustat will indicate how many attempts have been made to call the system. If the retry period is currently preventing calls to that system, uustat also displays the time when the next call will be permitted.
    uustat -p
Display the status of all processes holding UUCP locks. The output format is system dependent, as uustat simply invokes ps (1) on each process holding a lock.

FILES
The file names may be changed at compilation time or by the configuration file, so these are only approximations.
/usr/lib/uucp/config - Configuration file.
/usr/spool/uucp - UUCP spool directory.

SEE ALSO
ps(1), uucp(1), uux(1), uucico(8), uuxqt(8)

AUTHOR
Ian Lance Taylor (ian@airs.com or uunet!airs!ian)