clarification for cmd excution

Hi

Code:
nohup sar -u 10 $COUNT | awk 'NR>2 {$2=$4=$7="";}1' | tr -s ' ' '\t' 2>/dev/null >sar.out &
i have execute above line from shell script .. but sar.out is created with ZERO bite size..

Help on that what is the problem here

@Mani,

when will you use codetag ?

---------- Post updated at 02:45 PM ---------- Previous update was at 02:43 PM ----------

Already 6 times, we advised you to use the CODE tag while posting the data or script