home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
uustat.t.Z
/
uustat.t
/
uustat.prf
< prev
Wrap
Text File
|
2009-11-06
|
7KB
|
242 lines
.fill
.justify
.offset 5
.rightmargin 70
.pagesize 72
.m1 3
.m2 2
.m3 2
.m4 5
.ec \
.header /Uustat/UTILITY COMMAND/Uustat
.footer /Page #//Printed (%)/
.in +5
.define topic
.bold
.in -5
$1 $2 $3 $4 $5
.in +5
.en
.define endtopic
.en
.define noform
.nojustify
.nofill
.en
.define noformend
.justify
.fill
.en
.! Manual created with MWB
.! END-OF-MACRO
.topic NAME
Uustat - uucp status inquiry and job control
.endtopic
.topic SYNOPSIS
.noform
uustat [-x[=]<num>] [-s[=]<system>] [-u[=]<user>]
uustat [-x[=]<num>] -k[[=]<jobid>] [-v]
uustat [-x[=]<num>] -r[[=]<jobid>] [-v]
uustat -?
.noformend
.endtopic
.topic DESCRIPTION
Uustat will display the status of, or kill or rejuvenate,
previously specified uucp commands.
.sp
The options have the following meaning:
.sp
.in +5
.noform
-k kill all uucp requests
-k[=]<jobid> kill uucp request <jobid>
-r rejuvenate all uucp requests
-r[=]<jobid> rejuvenate uucp request <jobid>
-s[=]<system> display status for <system>
-u[=]<user> report requests issued by <user>
-v verbose mode (with -k or -r)
-x[=]<num> debug level <num>
-? print help message
.noformend
.in -5
.sp
If the neither the -k nor the -r option are present,
uustat displays the status of active uucp requests.
The requests displayed can be selected with the -u and -s options.
.sp
Uustat scans the C. and X. files in the uucp spool directory.
From these files uustat extracts the required information.
If a display is requested, uustat produces the following output:
.sp
.noform
uploxa0131 89/07/21-16:17 S uploxa notes 3195 D.uploxaA0131
89/07/21-16:17 S uploxa notes nfrcv ums.sh sephh
uploxa0132 89/07/21-16:18 S uploxa system 645 D.uploxaA0132
89/07/21-16:18 S uploxa system rmail exhh!ktshh!helle
uploxaA3720 89/07/20-10:07 X uploxa schubi rmail system
uploxaA3744 89/07/20-11:04 X uploxa notes nfrcv sub.config uploxa
.noformend
.sp
The first field is the uucp job ID, i.e. the name of the C. or X. file.
Each C. file can contain multiple remote commands;
uustat prints duplicate job IDs as white space.
This is field is followed by the access date and time of the file involved
in the transfer.
The next field is either 'S', 'R', or 'X' depending on whether the job is to
send or request (C. control file) or execute (X. control file) a file.
This is followed by the remote system name and the user ID of the
user who queued the request.
In the case of pending execution,
the user ID is that of the remote user,
which is usually senseless on the local system.
The last field contains the size of the file and its name or,
in the case of a remote execution the command to be executed.
.sp
The user names (also remote user names!) and system names can be restricted
with the -u and -s options.
No check is made for the validity of the user IDs.
.sp
The -k option is used to kill a previously scheduled uucp request,
which can be defined by either a C. or a X. command file.
The command file is scanned for all depending files.
These files and the command file are deleted.
The killed request must belong to the user ID that issued the request
unless one is logged in as the super-user (user ID 0.0).
This also does apply to X. command files
which can be killed only by the super-user because
the local user ID is unknown.
If no uucp request ID is given with the -k option,
all available requests are killed.
Note that 'orphan files' in the uucp spool directory
that do not belong to any request remain untouched.
.sp
The -r option works precisely the same way as the -k option
except that is does not
delete the files but touches them to modify their access date.
This is useful for requests that would be removed by
uumailclean in an automatic periodical
clean-up of the uucp spool directory.
.sp
The -v (verbose) option displays a message for each job deleted or touched
with the -k or -r command.
.sp
The -x option is useful if parsing errors occur during scan of the
C. and X. command files.
This should not normally happen,
but since the uucp syntax is very specific,
the -x option may help tracing the fault.
The -x option takes a debug level indication as a numeric argument.
Useful numbers are from the range 0..3 where
0 means that no debug messages are printed (the default)
while 3 means that all available debug information is given.
.endtopic
.topic BUGS
Uustat does not check the validity of a system name against the uucp
systems file.
.sp
Since the uucp command file syntax is very specific,
uustat may crash in extreme situations although precautions
have been taken to allow graceful degradation.
.endtopic
.topic FILES
.noform
/h0/SPOOL/UUCP/*
/dd/SYS/password
.noformend
.endtopic
.topic SYSINFO
.noform
UUCP.SPOOL
lck.uucp
.sp
.noformend
Note that uustat does not modify the uucp lock (lck.uucp) itself.
Rather, it emits a warning message indicating that uucp may be active
at the moment.
As a result, a uustat command with the -k or -r option
may possibly delete or touch files that are (to be) accessed
by other uucp activities working on the spool directory.
In rare circumstances, this may crash these programs.
.noformend
.endtopic
.topic EXAMPLES
.noform
uustat
.in +5
.noformend
Displays the complete status information. Output is as follows:
.noform
.sp
uploxa0131 89/07/21-16:17 S uploxa notes 3195 D.uploxaA0131
89/07/21-16:17 S uploxa notes nfrcv ums.sh sephh
uploxa0132 89/07/21-16:18 S uploxa system 645 D.uploxaA0132
89/07/21-16:18 S uploxa system rmail exhh!ktshh!helle
uploxaA3720 89/07/20-10:07 X uploxa schubi rmail system
uploxaA3744 89/07/20-11:04 X uploxa notes nfrcv sub.config uploxa
.in -5
.sp
uustat -u=schubi -suploxa
.in +5
.noformend
Display requests from the (local or remote) user 'schubi' to or
from remote system 'uploxa':
.noform
.sp
uploxaA3720 89/07/20-10:07 X uploxa schubi rmail system
.in -5
.sp
uustat -kuploxaA3720 -v
.in +5
.noformend
Kills the job displayed in the previous example.
Uustat confirms with (-v option):
.noform
.sp
uustat: uploxaA3720 killed
.in -5
.sp
uustat -vr
.in +5
.noformend
Touches the remaining requests:
.noform
.sp
uustat: uploxa0131 rejuvenated
uustat: uploxa0132 rejuvenated
uustat: uploxaA3744 rejuvenated
.in -5
.sp
uustat -usystem
.in +5
.noformend
Displays freshly touched status for user 'system':
.noform
.sp
uploxa0132 89/08/22-03:55 S uploxa system 645 D.uploxaA0132
89/08/22-03:55 S uploxa system rmail exhh!ktshh!helle
.in -5
.sp
su -c uucp
uustat -vkuploxaA3744
.in +5
.noformend
Try to kill request uploxaA3744 after changing user ID to uucp:
.noform
.sp
uustat: wrong user ID to kill uploxaA3744
.in -5
.noformend
.endtopic
.topic SEE ALSO
.noform
uucp, uucico, uuxqt, uux, uulog
.endtopic
.topic AUTHOR
Helge Oldach, Hamburg, West Germany
Electronic Mail: he@sephh.sub.org
..!unido!stollco!he
.noformend
.endtopic