ADSM-L

Re: Count of files on a volume

1998-09-03 15:54:46
Subject: Re: Count of files on a volume
From: Dwight Cook <decook AT AMOCO DOT COM>
Date: Thu, 3 Sep 1998 14:54:46 -0500
     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?
<Prev in Thread] Current Thread [Next in Thread>