Re: ondatartr output
Posted in 1998
In article <354EBC01.CAFC3E2B@hp.com>#1/1, Deepa Sankaranarayan <deepa_sankaranarayan@hp.com> wrote: > > Hi > > We have a script that reads the output from ondatartr to check if the > tape we loaded is the right one or not. A grep on the output gives the > date of the backup. The problem is, if the output of ondatartr is > redirected to a file, the file gets written to, only at the time when > ondatartr is finishing, which means we wait for the entire ondatartr to > complete before we can see the date of backup.. Its only if ondatartr > writes to the terminal that output is written immediately. Anyone has > any idea on how to get around this problem. I am trying to use the unix > 'script' command, no success yet. > > TIA > > Deepa > > try dd if=your_tape_drive bs=512 count=1 | od -c > your_output_file HTH -- Vardan Aroustamian -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading