Manual Pages for UNIX Darwin command on man uustat
MyWebUniversity

Manual Pages for UNIX Darwin command on man uustat

uustat(1) uustat(1)

NAME

uustat - UUCP status inquiry and control

SYNOPSIS

uuuussttaatt -aa

uuuussttaatt --aallll

uuuussttaatt [ -eeKKRRiiMMNNQQ ]] [[ -ssSS system ] [ -uuUU user ] [ -ccCC command ] [ -ooyy

hours ] [ -BB lines ] [ --eexxeeccuuttiioonnss ] [ --kkiillll-aallll ] [ --rreejjuuvveennaattee-aallll

] [ --pprroommpptt ] [ --mmaaiill ] [ --nnoottiiffyy ] [ --nnoo-lliisstt ] [ --ssyysstteemm system

] [ --nnoott-ssyysstteemm system ] [ --uusseerr user ] [ --nnoott-uusseerr user ] [ --ccoomm-

mmaanndd command ] [ --nnoott-ccoommmmaanndd command ] [ --oollddeerr-tthhaann hours ] [

--yyoouunnggeerr-tthhaann hours ] [ --mmaaiill-lliinneess lines ]

uuuussttaatt [ -kkrr jobid ] [ --kkiillll jobid ] [ --rreejjuuvveennaattee jobid ]

uuuussttaatt -qq [[ -ssSS system ] [ -ooyy hours ] [ --ssyysstteemm system ] [ --nnoott-ssyyss-

tteemm system ] [ --oollddeerr-tthhaann hours ] [ --yyoouunnggeerr-tthhaann hours ]

uuuussttaatt --lliisstt [[ -ssSS system ] [ -ooyy hours ] [ --ssyysstteemm system ] [ --nnoott-

ssyysstteemm system ] [ --oollddeerr-tthhaann hours ] [ --yyoouunnggeerr-tthhaann hours ]

uuuussttaatt -mm

uuuussttaatt --ssttaattuuss

uuuussttaatt -pp

uuuussttaatt --ppss

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 --uusseerr option with the appropriate argument.

If any of the -aa,, --aallll,, -ee,, --eexxeeccuuttiioonnss,, -ss,, --ssyysstteemm,, -SS,, --nnoott-ssyyss-

tteemm,, -uu,, --uusseerr,, -UU,, --nnoott-uusseerr,, -cc,, --ccoommmmaanndd,, -CC,, --nnoott-ccoommmmaanndd,, -oo,,

--oollddeerr-tthhaann,, -yy,, --yyoouunnggeerr-tthhaann options are given, then all jobs which

match the combined specifications are displayed.

The -KK or --kkiillll-aallll option may be used to kill off a selected group of

jobs, such as all jobs more than 7 days old. OOPPTTIIOONNSS

The following options may be given to uustat.

-aa,, --aallll

List all queued file transfer requests.

-ee,, --eexxeeccuuttiioonnss

List queued execution requests rather than queued file transfer requests. Queued execution requests are processed by uuxqt (8) rather than uucico (8). Queued execution requests may be waiting for some file to be transferred from a remote system. They are created by an invocation of uux (1).

-ss ssyysstteemm,, --ssyysstteemm ssyysstteemm

List all jobs queued up for the named system. These options may be specified multiple times, in which case all jobs for all the

systems will be listed. If used with --lliisstt only the systems

named will be listed.

-SS ssyysstteemm,, --nnoott-ssyysstteemm ssyysstteemm

List all jobs queued for systems other than the one named. These options may be specified multiple times, in which case no jobs from any of the specified systems will be listed. If used with

--lliisstt only the systems not named will be listed. These options

may not be used with -ss or --ssyysstteemm..

-uu uusseerr,, --uusseerr uusseerr

List all jobs queued up for the named user. These options may be specified multiple times, in which case all jobs for all the users will be listed.

-UU uusseerr,, --nnoott-uusseerr uusseerr

List all jobs queued up for users other than the one named. These options may be specified multiple times, in which case no jobs from any of the specified users will be listed. These options may

not be used with -uu or --uusseerr..

-cc ccoommmmaanndd,, --ccoommmmaanndd ccoommmmaanndd

List all jobs requesting the execution of the named command. If ccoommmmaanndd is ALL this will list all jobs requesting the execution of some command (as opposed to simply requesting a file transfer). These options may be specified multiple times, in which case all jobs requesting any of the commands will be listed.

-CC ccoommmmaanndd,, --nnoott-ccoommmmaanndd ccoommmmaanndd

List all jobs requesting execution of some command other than the named command, or, if ccoommmmaanndd is ALL, list all jobs that simply request a file transfer (as opposed to requesting the execution of some command). These options may be specified multiple times, in which case no job requesting one of the specified commands will be

listed. These options may not be used with -cc or --ccoommmmaanndd..

-oo hhoouurrss,, --oollddeerr-tthhaann hhoouurrss

List all queued jobs older than the given number of hours. If

used with --lliisstt only systems whose oldest job is older than the

given number of hours will be listed.

-yy hhoouurrss,, --yyoouunnggeerr-tthhaann hhoouurrss

List all queued jobs younger than the given number of hours. If

used with --lliisstt only systems whose oldest job is younger than the

given number of hours will be listed.

-kk jjoobbiidd,, --kkiillll jjoobbiidd

Kill the named job. The job id is shown by the default output

format, as well as by the -jj or --jjoobbiidd 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 -kk or --kkiillll

options may be used multiple times on the command line to kill several jobs.

-rr jjoobbiidd,, --rreejjuuvveennaattee jjoobbiidd

Rejuvenate the named job. This will mark it as having been

invoked at the current time, affecting the output of the -oo,,

--oollddeerr-tthhaann,, -yy,, or --yyoouunnggeerr-tthhaann options and preserving it from

any automated cleanup daemon. The job id is shown by the default

output format, as well as by the -jj or --jjoobbiidd options 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 -rr or

--rreejjuuvveennaattee options may be used multiple times on the command

line to rejuvenate several jobs.

-qq,, --lliisstt

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

The -ss,, --ssyysstteemm,, -SS,, --nnoott-ssyysstteemm,, -oo,, --oollddeerr-tthhaann,, -yy,, and

--yyoouunnggeerr-tthhaann options may be used to restrict the systems which

are listed. Systems for which no commands or executions are queued will never be listed.

-mm,, --ssttaattuuss

Display the status of conversations for all remote systems.

-pp,, --ppss

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

-ii,, --pprroommpptt

For each listed job, prompt whether to kill the job or not. If the first character of the input line is y or Y the job will be killed.

-KK,, --kkiillll-aallll

Automatically kill each listed job. This can be useful for auto-

matic cleanup scripts, in conjunction with the --mmaaiill and --nnoottiiffyy

options.

-RR,, --rreejjuuvveennaattee-aallll

Automatically rejuvenate each listed job. This may not be used

with --kkiillll-aallll..

-MM,, --mmaaiill

For each listed job, send mail to the UUCP administrator. If the

job is killed (due to --kkiillll-aallll or --pprroommpptt with an affirmative

response) the mail will indicate that. A comment specified by the

--ccoommmmeenntt option may be included. If the job is an execution, the

initial portion of its standard input will be included in the mail message; the number of lines to include may be set with the

--mmaaiill-lliinneess option (the default is 100). If the standard input

contains null characters, it is assumed to be a binary file and is not included.

-NN,, --nnoottiiffyy

For each listed job, send mail to the user who requested the job.

The mail is identical to that sent by the -MM or --mmaaiill options.

-WW ccoommmmeenntt,, --ccoommmmeenntt ccoommmmeenntt

Specify a comment to be included in mail sent with the -MM,, --mmaaiill,,

-NN,, or --nnoottiiffyy options.

-BB lliinneess,, --mmaaiill-lliinneess lliinneess

When the -MM,, --mmaaiill,, -NN,, or --nnoottiiffyy options are used to send mail

about an execution with standard input, this option controls the number of lines of standard input to include in the message. The default is 100.

-QQ,, --nnoo-lliisstt

Do not actually list the job, but only take any actions indicated

by the -ii,, --pprroommpptt,, -KK,, --kkiillll-aallll,, -MM,, --mmaaiill,, -NN or --nnoottiiffyy

options.

-xx ttyyppee,, --ddeebbuugg ttyyppee

Turn on particular debugging types. The following types are rec-

ognized: abnormal, chat, handshake, uucp-proto, proto, port, con-

fig, spooldir, execute, incoming, outgoing. Only abnormal, con-

fig, spooldir and execute are meaningful for uustat.

Multiple types may be given, separated by commas, and the --ddeebbuugg

option may appear multiple times. A number may also be given, which will turn on that many types from the foregoing list; for

example, --ddeebbuugg 22 is equivalent to --ddeebbuugg aabbnnoorrmmaall,,cchhaatt..

-II ffiillee,, --ccoonnffiigg ffiillee

Set configuration file to use. This option may not be available,

depending upon how uustat was compiled.

-vv,, --vveerrssiioonn

Report version information and exit.

--hheellpp

Print a help message and exit. EEXXAAMMPPLLEESS

uustat -all

Display status of all jobs. A sample output line is as follows:

bugsA027h bugs ian 04-01 13:50 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 --kkiillll or --rreejjuuvveennaattee options. The

size indicates how much data is to be transferred to the remote system,

and is absent for a file receive request. The --ssyysstteemm,, --nnoott-ssyysstteemm,,

--uusseerr,, --nnoott-uusseerr,, --ccoommmmaanndd,, --nnoott-ccoommmmaanndd,, --oollddeerr-tthhaann,, and

--yyoouunnggeerr-tthhaann options may be used to control which jobs are listed.

uustat -executions

Display status of queued up execution requests. A sample output line is as follows:

bugs bugs!ian 05-20 12:51 rmail ian

The format is

system requestor queue-date command

The --ssyysstteemm,, --nnoott-ssyysstteemm,, --uusseerr,, --nnoott-uusseerr,, --ccoommmmaanndd,, --nnoott-ccoomm-

mmaanndd,, --oollddeerr-tthhaann,, and --yyoouunnggeerr-tthhaann options may be used to control

which requests are listed.

uustat -list

Display status for all systems with queued up commands. A sample out-

put line is as follows:

bugs 4C (1 hour) 0X (0 secs) 04-01 14:45 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 -status

Display conversation status for all remote systems. A sample output line is as follows:

bugs 04-01 15:51 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 -ps

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.

uustat -command rmail -older-than 168 -kill-all -no-list -mail -notify -comment "Queued for over 1 week"

This will kill all rmail commands that have been queued up waiting for delivery for over 1 week (168 hours). For each such command, mail will be sent both to the UUCP administrator and to the user who requested the rmail execution. The mail message sent will include the string

given by the --ccoommmmeenntt option. The --nnoo-lliisstt option prevents any of

the jobs from being listed on the terminal, so any output from the pro-

gram will be error messages.

SEE ALSO

ps(1), rmail(1), uucp(1), uux(1), uucico(8), uuxqt(8) AUTHOR Ian Lance Taylor (ian@airs.com)

Taylor UUCP 1.07 uustat(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™