Displaying 1 result from an estimated 1 matches for "wsat".
Did you mean:
what
2010 Dec 29
1
Script Output Format
...u can see, the first row it's ok, but the second and third, etc etc, are not formated. any ideas of how can i achive this?
NOTE: the first three values are simple commands that i put in order, the fourth and fifth are from a file.
this is part of the code.
printf "%s,%d,%d" $DATE $WSAT $WSTT >> output.${STANZA}.txt
for i in `cat jlist.${STANZA}.txt`
do
? JUNCTION=${i}
? WSWJ=`pdadmin -a sec_master -p ${PASSWD} server task ${STANZA} show ${JUNCTION} | grep 'threads' | awk '{ print $4 }'`
? printf ",%d,%s\n" ${WSWJ} ${JUNCTION} >> output.${STA...