ADSM-L

Re: A new Script for counting files by volume - with thescript this time!!!

2000-03-03 13:16:25
Subject: Re: A new Script for counting files by volume - with thescript this time!!!
From: Larry Way <Larry.Way AT TRW DOT COM>
Date: Fri, 3 Mar 2000 10:16:25 -0800
I would be interested in the following :

CLIENT-LVL-DTL 

Larry Way
SL09/100D
408-743-4242  Voice
408-690-2327  Cell
408-743-4201  Fax

>>> Gary.Ison AT MAIL.STATE.KY DOT US 03/03/00 07:51AM >>>
Hi folks,

        I'm playing around with scripts and thought I might share this one
with the group.  It counts the number of files, stored size, and indicates
segmentation (by node) for a specific volume.  It could be useful, for
instance, in determining whether an associated volume would be mounted
during reclamation or move processing; or maybe as a way of determining what
nodal data is stored on non-collocated volumes; or maybe just a simple count
of the number of files on a volume.

 <<vol-files.mac>>

        Have fun with it if you want.  I have other scripts I'm willing to
share with those who may be interested.  Here is a listing of what I have
developed to date.


Name               Description
---------------    --------------------------------------------------
ACC-DAYS           Show nodes not accessing ADSM in last n days
ACC-DAYS           Show nodes not accessing ADSM in last n days
CLIENT-CNT         Count client nodes by OS platform
CLIENT-LVL         Count clients by release level
CLIENT-LVL-DTL     Show clients' release levels for all clients
CLIENT-OLD         Display clients by old release level
DAILY              Daily administrative commands - Gary Ison
DETAIL-DIR         Count files in all directories for node x (1 of 3)
DETAIL-FILE        Count files for node x and directory x (2 of 3)
DETAIL-FILEX       File information for all copies of file x (3 of 3)
DETAIL-FS          Count directories and files for node x
DETAIL-XREF        Show backup data for node X, file Y (all dir.)
DOM-CLIENTS        Display nodes in specified domain
DOM-GRACE          Display domain active policy set grace periods
DOM-MGMNT          Display active policy mgt. & migration by domain
DOM-NODE-MGMNT     Count files by data management class by node
DOM-POL            Display domain active policy set and node count
DOM-VOLS          Show volumes used by domain
DRM-VOL             Display volumes used by DRM
DRM-VOL-DATE    Display volumes used by DRM by date updated
FILE-SEG           Show segmented file names on a tape volume
INFO                   Stats for log, storage, sessions, and processes
LAST-BKUP          Show last filespace backup times for node X
LAST-BKUP-ALL      Show filespaces n days or older for all nodes
LAST-BKUP-DAYS   Show filespaces 1 day or more old for node X
MONTHLY           Monthly report information - Gary Ison
NODE-ACT          Show scheduled activity for node x
NODE-FILES       Count files & MB used by storage pool; all nodes
NODE-MB            Count total MB used by node for all nodes
NODE-MB-TYPE  Show audited MB used by storage type for all nodes
NODE-SES-DTL   Show details of last session for client X
NODE-VOLS      Show filespaces & volumes used by pool for nodes
NODE-X-FILES  Count files & MB used by storage pool for node x
NODE-X-MB      Show audited MB used by storage type for node X
NODE-X-VOLS  Show filespaces & volumes used by pool for node x
PROC-STATS    Show running time and throughput for processes
RECL-ALL          List all reclamation candidate volumes
RECL-CAN         List reclamation volumes of specific storage pools
RECL-LIST         List low usage volumes by specified storage pool
RECL-OFF         Turn off reclamation on all tape pools
RECL-ON           Turn on reclamation on all tape pools
RECL-VOL          List low usage volumes by specified storage pool
SES-STATS        Show connect time & throughput for active sessions
TIME                   Show current time, restart date, and elpased days.
VOL-CNT            Count volumes used by storage pool & device class
VOL-DTL            Show details for specified volume
VOL-ERR            Show data for volumes in error state
VOL-FIL-SIZ        Show size of files on specified volume
VOL-FILES          Count files on a volume
VOL-HIST           Show history of a tape volume and current status


        Gary L. Ison
        101 Cold Harbor Drive
        Frankfort, Ky.   40601
        Phone:  (502) 564-8724
            Fax:  (502) 564-6856
Gary.Ison AT mail.state.ky DOT us <mailto:Gary.Ison AT mail.state.ky DOT us>
<Prev in Thread] Current Thread [Next in Thread>
  • Re: A new Script for counting files by volume - with thescript this time!!!, Larry Way <=