cancel
Showing results for 
Search instead for 
Did you mean: 

vmquery command

kproehl
Level 5

I am trying to run commands on my windows master server to see how many scratch tapes their are for a particular robot.  Is there a way to make vmquery do this?  If not does anyone know of a way to get this information?

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

For robot 0:

vmquery -rn 0 -bx |grep -i scratch

 

If Windows, use  findstr instead of grep.

View solution in original post

4 REPLIES 4

Marianne
Level 6
Partner    VIP    Accredited Certified

For robot 0:

vmquery -rn 0 -bx |grep -i scratch

 

If Windows, use  findstr instead of grep.

Will_Restore
Level 6

vmquery -rn 0 -bx | grep -i scratch | wc -l

Andy_Welburn
Level 6

# vmquery -Q
UNSUPPORTED OPTIONS
  -bx
      Brief 1-line-per-volume format used by xvmadm.

altho' why it should be "unsupported" is beyond me....