Re: Count of files on a volume
1998-09-03 16:45:39
Subject: |
Re: Count of files on a volume |
From: |
"Mapes, Mark" <MWM4 AT PGE DOT COM> |
Date: |
Thu, 3 Sep 1998 13:45:39 -0700 |
Or, you could issue the following SQL SELECT command and probably be 100%
accurate:
select count(*) from contents where volume_name = '??????'
Mark Mapes
PG&E
> ----------
> From: Dwight Cook[SMTP:decook AT AMOCO DOT COM]
> Reply To: ADSM: Dist Stor Manager
> Sent: Thursday, September 03, 1998 12:54PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Count of files on a volume
>
> If you have an AIX box with ADSM on it... do a
> dsmadmc -serv=...youros/2serv... -id=blah -pass=blah q cont
> somevolser
> | grep ^[A-Z] | wc -l
> there will be a few header lines included in the count but it will
> probably be 99.9% accurate
>
>
> ______________________________ Reply Separator
> _________________________________
> Subject: Count of files on a volume
> Author: nickpc (nickpc AT us.ibm DOT com) at unix,mime
> Date: 9/3/98 9:58 AM
>
>
> Does anyone know of a command, documented or otherwise, that will tell me
> how
> many files are on a particular volume? Since MOVE DATA has not progress
> indicator except the number of files moved, I'd like to know how many it
> has
> left to go.
>
> I'm manually reclaiming space on volumes in a very slow device class (OS/2
> ADSM
> Server V2, DEVC is LAN3995, which is a 3995 optical jukebox on a NET USE
> connection). It takes 2-3 hours to move 2GB of data, and I'd just like to
> know
> about how far along I am.
>
> Thanks in advance!
>
> Nick Cassimatis
> Distributed Storage Management Team
> nickpc AT us.ibm DOT com
>
> If you don't have the time to do it right the first time, where will you
> find
> the time to do it again?
>
|
|
|