One of our Servergraph monitors does, essentially, this: dsmadmc ... q libvol | grep Scratch | wc -l to spit out how many scratch tapes are in use.
--------------------------------- Mr. Lindsay Morris Lead Architect, Servergraph www.servergraph.com <http://www.servergraph.com> 859-253-8000 ofc 425-988-8478 fax > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:ADSM-L@;VM.MARIST.EDU]On Behalf Of > Chetan H. Ravnikar > Sent: Friday, November 08, 2002 1:23 AM > To: [EMAIL PROTECTED] > Subject: check on allowed scratch tapes! > > > Hello > I am often caught with my customers complaing, that the client are > sometimes failing with error server out of storage space! > > What I am looking for is, the value which is set in a storage pool > *Max allowed scratch tapes*. > We have 250 Maximum Scratch Volumes Allowed on OS_TAPEPOOL_SERVER (onsite > pool), when the numbers starts getting close to 245, a mail gets sent out! > > Any select statement statement which gives that value!? I can script > something.. quickly > > thanks for the help > Chetan >