HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
u
uuls(1M) uuls(1M)
(TO BE OBSOLETED)
stat-able, and to print the C-file meaning.
uucp -C and uux both set <subfile> to a true (spooled) subfile name.
Orphan files are those whose names start with
D. and which are not referenced by any control files.
This algorithm extracts from control files the names of all subfiles that should exist in the spool directory
when the transaction is not being actively processed. It is not unusual to see "missing subfiles" and
"orphans" if you
uuls a spool directory while uucico, uucp, uux,or uuxqt is active.
Meanings information is obtained by reading each
D*X*
subfile referenced by each C.* file, and by read-
ing
X*X* files. nodename!username is taken from the last line in the file which is of the form:
U <username> <nodename>
Likewise, commandline is taken from the last line of the form:
C <commandline>
If a subfile name is referenced more than once, references after the first show the subfile as missing. If a
subfile name appears in a (corrupt) directory more than once, the name is only found once, but then it is
listed again under
Orphans.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the order in which the output is sorted.
If LC_COLLATE is not specified in the environment or is set to the empty string, the value of
LANG is
used as a default. If
LANG is not specified or is set to the empty string, a default of ‘‘C’’ (see lang(5)) is used
instead of
LANG. If any internationalization variable contains an invalid setting,
uuls behaves as if all
internationalization variables are set to ‘‘C’’ (see environ(5)).
DIAGNOSTICS
The program writes an appropriate message to standard error if it has any problems dealing with a
specified file (directory), including failure to get heap space. It always returns zero as its exit value.
If a control file is unopenable (wrong permissions or it disappeared while
uuls was running), its name is
preceded by a ∗ and the size of the transaction is zero. If a subfile is missing (filename not found in the
directory being listed) or not stat-able (if required for -s or -k), its name is preceded by a
∗ and it contri-
butes zero bytes to the size of the transaction.
If
-m is specified and a D*X* file is missing or unreadable, its name is given with a
∗ prefixed, as usual.
BUGS
This command uses chdir(2) to change to each directory in turn. If more than one is specified, the second
through last directories must be absolute (not relative) pathnames, or the
chdir() may fail.
WARNINGS
Use of uucp commands, including uuls, is discouraged because they are targeted for removal from HP-
UX. Use ftp(1) or rcp(1) instead.
AUTHOR
uuls was developed by HP.
SEE ALSO
mail(1), uucp(1), uuto(1), uux(1), uuxqt(1M), stat(2).
606 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: February 2007