Bummer...... I don't have "xmlstarlet" installed :(
#### This seems to work ::--->
raw-quickc () {
export MCCLI=/usr/local/avamar/bin/mccli
export BIN=/home/admin/bin
echo...
awk -W version
GNU Awk 3.1.8
Using awk on a Avamar system :)
#### Here's the raw out put from the mccli command ::--->
9145091880251509 Completed w/Exception(s) 10010 2015-12-23 20:00 EST 00h:59m:07s 2015-12-23 20:59 EST Scheduled Backup 6.2 TB 0.1% yyy.com /xxxx Windows...
Separating columns via multiple spaces...
awk -F '[[:space:]][[:space:]]+' '{ print $1, $7"/"$6, $12 }'
Each column of data will have multiple data separated by spaces..
Not sure how to print out only the first 3 items in $12....
Any idea's
Thanks....
Joe Despres
Unfortunately Avamar doesn't have ksh available :(
Looks like declare is the same as typeset thou... it doesn't have the "-Z" switch...
Bummer :(
Thanks
Joe Despres
I need to scan through 28 files ::--->
/bin/ls -alt $SDIR/*$IDENTIFIER*log|awk '{print $9}'|grep Celerra.avtar.log | tee $ALL > $FILESLOG
And I want to pull out multiple items from each file ::--->
for i in `cat $FILESLOG`
do
echo -e "/bin/grep "<5905>" $SDIR/$i | awk '{print $1, $11}' \c"...
I'm trying to create a colorful help for all the functions I'm creating...
I have the following ::--->
gethelp () {
cat << EOF
act ::---> Get one or more clients activity. act <Client_name or Client_list>
his ::---> Get one or more client backup history. his <Client_name or Client_list>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.