Thank you Sam that works a treat. Thanks FYI PHV i tried iostat -xtc 2 5|sed '/extended/,/id/d' that was no good, took out all the headings! Tried a number of variations which failed, I'm sure there are numerous ways to do this but my SED is rusty and I was hacking out too many lines and headings.