How to use vmquery view size image in media
I wanna use vmquery command to view scratch pool.
I ran this command : vmquery -b -pn scratch_pool | grep 'TLD' | grep'HCART*'
I managed to get the ouput. Now, how would i list tapes in the scratch pool , which is expired or the size (in KB) equal to 0.
I may run grep '0' but i worry it will clash to other value equal to '0'.
The reason why i want to sort like this because I want to re-label all those scratch tapes which are expired.
Masterserver OS: AIX 6.1
NBU version: 7.5