Register
It is currently Tue Sep 16, 2014 11:25 am

Script


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Thu May 28, 2009 12:24 pm   

Joined: Thu May 28, 2009 11:29 am
Posts: 1
Good day all!

This is my first time having to write a script and so given it's complexity compared to my abilities, this help is most appreciated. I am not sure if I have provided enough information but I am sure those who are to review this post will inform me as to what more info is required. Thanks in advance to all who will look into this for me.

Problem:

Using the opsware global shell, find within a list of servers, which don't have either
the string "archive" or "oradata" contained in file:

/usr/openv/netbackup/exclude_list.

1. use wget to access a an html file which contains a list
of servers which either start with l*** or s***

2. In opsware, search the list and grep for "oradata" and "archive"
against /usr/openv/netbackup/exclude_list

3. create output file which displays the servers which don't
have "oradata" or "archive"


Thanks much,

Chris


Top
 Profile  
 PostPosted: Wed Jul 22, 2009 1:10 pm   
Moderator
User avatar

Joined: Wed May 03, 2006 2:05 pm
Posts: 242
Hi Chris,

This is a really old post so I hope you've figured it out by now, but if you could post some examples of the server lists and exclude lists you're working with (we mainly need to know how they are formatted) we could probably provide a little more guidance.

Thanks!


Top
 Profile YIM  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP