vmquery -pn Scratch -b | grep -iv none | wc -l -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bobby Williams Sent: Tuesday, May 23, 2006 11:55 AM To: Covington, Garrett; 'veritas-bu@mailman.eng.auburn.edu' Subject: Re: [Veritas-bu] count of scratch tapes
vmquery -pn `vmpool -listscratch | tail -1` -b | grep -v NONE | wc -l That would get you scratch. vmquery has switches to let you pick pools or robots or both.... From: "Covington, Garrett" <[EMAIL PROTECTED]> Date: 2006/05/23 Tue AM 11:26:33 EDT To: "'veritas-bu@mailman.eng.auburn.edu'" <veritas-bu@mailman.eng.auburn.edu> Subject: [Veritas-bu] count of scratch tapes I run Solaris9 - NBU 5.1mp4 Is there a good way to output the number or tapes within a pool or robot, ie: to count the number of SCRATCH tapes within a robot? Thanks, Garrett Covington The TriZetto Group, Inc. [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> p: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> w: 303-323-6886 c: 303-204-6695 Bobby Williams 2205 Peterson Drive Chattanooga, TN 37421 _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu