John,

Thanks for the reply. Here's the results from that command. [ su root -c
"/usr/local/amanda/libexec/chg-multi -info" ]

----

[root@paperbark hlink-data2]# su root -c
"/usr/local/amanda/libexec/chg-multi -info"
+ prefix=/usr/local
+ exec_prefix=/usr/local
+ libexecdir=/usr/local/amanda/libexec
+ pname=chg-multi
+ PATH=/usr/local/amanda/libexec:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ucb
+ export PATH
+ USE_VERSION_SUFFIXES=no
+ test no = yes
+ SUF=
++ getconf changerfile
+ ourconf=/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ MT=/bin/mt
+ MTF=-f
+ [ ! -f /usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf ]
++ awk $1 == "firstslot" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ firstslot=1
+ [ 1 =  ]
++ awk $1 == "lastslot" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ lastslot=8
+ [ 8 =  ]
++ expr 8 - 1 + 1
+ nslots=8
++ awk $1 == "gravity" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ gravity=1
+ [ 1 =  ]
++ awk $1 == "needeject" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ needeject=0
+ [ 0 =  ]
++ awk $1 == "multieject" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ multieject=0
+ [ 0 =  ]
++ awk $1 == "ejectdelay" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ ejectdelay=0
+ [ 0 =  ]
++ awk $1 == "statefile" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/chg-multi.conf
+ ourstate=/usr/local/amanda/etc/amanda/hlink-data2/changer-status
+ [ /usr/local/amanda/etc/amanda/hlink-data2/changer-status =  ]
++ awk $1 == "curslot" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/changer-status
+ curslot=2
+ [ 2 =  ]
++ awk $1 == "curloaded" {print $2}
/usr/local/amanda/etc/amanda/hlink-data2/changer-status
+ curloaded=1
+ [ 1 =  ]
+ usage=0
+ checkgravity=0
+ ejectslot=0
+ loadslot=0
+ slotempty=0
+ [ 1 -ge 1 ]
+ command=-info
++ expr 1 - 1
+ backwards=0
+ echo 2 8 0
2 8 0
+ exit 0


----

Thanks again

Nathan

Reply via email to