ADSM-L

Re: A new Script for counting files by volume - with the script t his time!!!

2000-03-03 16:05:15
Subject: Re: A new Script for counting files by volume - with the script t his time!!!
From: "Comeaux, Sandy B." <Sandy.Comeaux AT BCBSLA DOT COM>
Date: Fri, 3 Mar 2000 15:05:15 -0600
Hello,

I am new to ADSM.  I am trying to get a handle on what goes on with our
nightly processing of backups from our NT servers.  What I would like to
know is how do the scripts work?  I am very interested in the scripts
listed.  I need to get data out to management about what happens nightly.

Thanks,
Sandy Comeaux
Blue Cross Blue Shield of Louisiana

 -----Original Message-----
From:   Gary Ison [mailto:Gary.Ison AT MAIL.STATE.KY DOT US]
Sent:   Friday, March 03, 2000 9:52 AM
To:     ADSM-L AT VM.MARIST DOT EDU
Subject:        A new Script for counting files by volume - with the script
this time!!!

 << File: vol-files.mac >> 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>