[Veritas-bu] tapes per pool!
2005-11-02 13:01:18
Here's a way:
vmquery -a -w | awk 'NR>3 {pool=$12
++count[pool];poolnames[pool]}
END {for (p in poolnames)
{printf("%20s\t%4d\n",p,count[p])}}'
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Atif Munir
Sent: Wednesday, November 02, 2005 10:38 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] tapes per pool!
Dear All,
I want to know the number of tapes per pool is there a simple way to get it
(without opening the gui)
Thanks in advance.
Atif
|
|
|