SMCLST - display disk space by userid.

Syntax:

UW_PRIV/SMCLST [options]*
(+|-)CHist (-)    (+|-)FHist (-)   (+|-)Headings (+)
(+|-)Summary (+)  (+|-)Detail (+)  (+|-)Removable (+)
(+|-)Users (+)    (+|-)Wide (-)    (+|-)Verbose
Device=DDD        MaXsize=llinks   MiNsize=llinks
Pack=packname     Sortkey=keyword

Examples:

uw_priv/smclst min=1 -verbose -detail
    Produces just a list of userids with catalog space
    on the PERM file system.
uw_priv/smclst pack=rmv01
    Lists data about userids on removable pack RMV01.
uw_priv/smclst +wide +verbose >tempfile
slist tempfile
    Lists all users in the SMC on the printer.  Includes
    histograms showing the file and catalog use.

Options:

+CHist
generates a histogram of catalog space use by user.
-Detail
suppresses the detailed file space information for each user. In other words, it only displays the userid(s).
Device=ddd
displays the userids that have an entry in the PMC of device "ddd". If the device does not have an SMC, PMC or VSMC on it, SMCLST terminates with an error message. The device with the primary SMC is the default (i.e. ST1).
+FHist
generates a histogram of file space use by user.
-Headings
does not put out page headers every 50 lines.
MaXsiz=nnn, Minsiz=nnn
only displays and/or keeps statistics on users with >= Minsiz and <= Maxsiz total (catalog and file) llinks in use. Minsiz defaults to 0, and Maxsiz defaults to positive infinity.
Pack=PPPPP
uses removable pack PPPPP. This pack must be mounted on an assigned removable drive, and must contain a PMC or VSMC. Otherwise, SMCLST terminates with an error message. Only one Pack= or Device= option may be specified.
-Removable
omits those userids with UMCs on removable packs or volume sets. This is only meaningful when applied to the SMC.
Sortkey=keyword
sorts the output using "keyword" as the primary key. The userid is used as the secondary key to resolve collisions caused by the primary sort key. The following keywords are recognized:
Userid
Sort by userid.
Filesize
Sort by the file space used by the user.
Catsize
Sort by the catalog space used by the user.
Bucket
Sort by the FMS hash number.
Allocation
Sort by the file space quota.

SMCLST accepts abbreviations of the above keywords following the usual conventions (e.g. Sort=buck).

-Summary
does not print a summary line with totals and counts of file space usage and allocation.
-Verbose
changes the defaults to -CHist, -FHist, -Heading and -Summary. It is often used when the output from SMCLST is used by another program.
+Verbose
changes the defaults to +CHist, +FHist, +Heading and +Summary.
+Wide
formats the output for a wide device like a printer instead of an 80 character terminal. The user information is listed in two columns, and histograms are printed with more detail.

Description:

SMCLST displays information about filespace usage on the main file system, a removable device, or a volume set. For each userid, SMCLST displays the SMC hash bucket value, the number of file llinks in use, the catalog llinks in use, the total llinks allowed, and the device or pack with the UMC. When you list the SMC, if the userid is on a volume set, SMCLST shows the packname of the volume with the VSMC. You can use the MiNsize=, MaXsize= and -Removable options to select data on specific types of users.

To list the userids for a volume set, use the Pack= or Device= option to select the volume with the VSMC for the volume set.

SMCLST's output consists of two parts. The sorted information is printed with one or two records per line, in the following format:

 Userid       SMC     File  Catalog   Allowed   UMC
---------------------------------------------------
userid       (14)        0        1      2500   st1
  .           .          .        .        .
  .           .          .        .        .
  .           .          .        .        .

The totals are printed after the list of userids, followed by any histograms that were specified in the options.

Copyright © 1996, Thinkage Ltd.