I'm aware of bconsole, btape etc. but they are all interactive consoles.
You could use that: bconsole < <(echo "status storage")
Or if you want something more specific, you could use the expect command.
Perhaps the data pieces you want can be retrieved through sg_utils, but
I don't know how (I'm using disks)JTH.
HTH
Jérôme.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users