Veritas-bu

[Veritas-bu] Command line for monitor a job

2001-07-16 04:48:32
Subject: [Veritas-bu] Command line for monitor a job
From: olaf_behnke AT de.schindler DOT com (olaf_behnke AT de.schindler DOT com)
Date: Mon, 16 Jul 2001 10:48:32 +0200
Hi all,
Does anybody know the structure of the output of "bpdbjobs -report
-all_columns -stay_alive"?
It seems to be a comma-separated list (one line per job) but what ist the
meaning of the fields?
Greetings
Olaf




James Mello <kingjamm AT colltech DOT com>@mailman.eng.auburn.edu on 13.07.2001
20:17:28

Sent by:  veritas-bu-admin AT mailman.eng.auburn DOT edu


To:   "Zufall, Ken" <Ken.Zufall AT ps.bellhowell DOT com>
cc:   "'John_Wang AT enron DOT net'" <John_Wang AT enron DOT net>,
      veritas-bu AT mailman.eng.auburn DOT edu
Subject:  RE: [Veritas-bu] Command line for monitor a job


Naw... even if I'm wrong where the data comes from, I do know that you can
run the following and have it work....


while true
do
     echo "refresh"
     sleep 3
done | bpdbjobs -report -all_columns -stay_alive

This will dump out the stuff that you need every 3 seconds.

     -- Cheers
     -- James

On Fri, 13 Jul 2001, Zufall, Ken wrote:

> I also imagine that the interactive mode would cause problems if you
wanted
> this information for scripting purposes...
>
> Ken Zufall
> 330.202.4113
>
> "It's not the most difficult job in the world, but I do have to know all
the
> letters." - Vanna White
>
>
>         -----Original Message-----
>         From:     John_Wang AT enron DOT net [mailto:John_Wang AT enron DOT 
> net]
>         Sent:     Friday, July 13, 2001 1:55 PM
>         To:  kingjamm AT colltech DOT com
>         Cc:  david AT xbpadm-commands DOT com; mander47 AT sca.csc DOT com;
> veritas-bu AT mailman.eng.auburn DOT edu
>         Subject:  RE: [Veritas-bu] Command line for monitor a
> job
>
>
>
>         Hello James
>
>         How does that make the fact that netbackup keeps everything
> in text files not
>         true?   Try "cat /usr/openv/netbackup/db/jobs/*.t" and see
> what you get.
>
>         Regards,
>         John I Wang
>         Sr. Systems Engineer
>         Steverson Information Professionals
>
>         ---
>         Enron Networks
>         Enron Building room 3427e
>         ph (713) 345-4888
>         cell (832) 493-1263
>         fax (713) 646-8462
>         pg pagejwang AT skytel DOT com or 1-877-390-4155
>
>
>
>
>
>         |--------+----------------------->
>         |        |          kingjamm@coll|
>         |        |          tech.com     |
>         |        |                       |
>         |        |          07/13/01     |
>         |        |          12:53 PM     |
>         |        |                       |
>         |--------+----------------------->
>
> >--------------------------------------------------------------------|
>           |
> |
>           |       To:     John Wang/Contractor/Enron
> Communications@Enron      |
>           |       Communications
> |
>           |       cc:     mander47 AT sca.csc DOT com,
> david AT xbpadm-commands DOT com,     |
>           |       veritas-bu AT mailman.eng.auburn DOT edu
> |
>           |       Subject:     RE: [Veritas-bu] Command line for
> monitor a job |
>
> >--------------------------------------------------------------------|
>
>
>
>         No, this is not true. In the case of the bpdbjobs report,
> you run the
>         command like I showed before...
>
>         bpdbjobs -report -all_columns -stay_alive
>
>         You'll get a dump of all the jobs in the last 24 hours, and
> then dropped
>         to an interactive session where you can run the commands
> "refresh",
>         "refresh-all", and exit...
>
>
>                    -- Cheers
>                    -- James
>
>         On Fri, 13 Jul 2001 John_Wang AT enron DOT net wrote:
>
>         >
>         >
>         > Hello Michael
>         >
>         > But when you right click and choose monitor, it just cats
> a text file into the
>         > GUI as the job logs are all kept in text files.   You
> could just find out
>         which
>         > text file and do a "tail -f" from the command line.
>         >
>         > Regards,
>         > John I Wang
>         > Sr. Systems Engineer
>         > Steverson Information Professionals
>         >
>         > ---
>         > Enron Networks
>         > Enron Building room 3427e
>         > ph (713) 345-4888
>         > cell (832) 493-1263
>         > fax (713) 646-8462
>         > pg pagejwang AT skytel DOT com or 1-877-390-4155
>         >
>         >
>         >
>         >
>         >
>         > |--------+----------------------->
>         > |        |          mander47@sca.|
>         > |        |          csc.com      |
>         > |        |                       |
>         > |        |          07/13/01     |
>         > |        |          09:03 AM     |
>         > |        |                       |
>         > |--------+----------------------->
>         >
> >--------------------------------------------------------------------|
>         >   |
> |
>         >   |       To:     david AT xbpadm-commands DOT com,
> |
>         >   |       veritas-bu AT mailman.eng.auburn DOT edu
> |
>         >   |       cc:     (bcc: John Wang/Contractor/Enron
> Communications)     |
>         >   |       Subject:     RE: [Veritas-bu] Command line for
> monitor a job |
>         >
> >--------------------------------------------------------------------|
>         >
>         >
>         >
>         >
>         >
>         > Yes I am looking for the detailed information, like when
> you right-click on a
>         > job and choose monitor.
>         >
>         > Regards
>         > Michael
>         >
>         >
>         >
>         >
>         > "David A. Chapa" <david AT xbpadm-commands DOT com> on 13-07-2001
> 15:54:54
>         >
>         > To:   Michael G Andersen/SCA/CSC@CSC,
> veritas-bu AT mailman.eng.auburn DOT edu
>         > cc:
>         > Subject:  RE: [Veritas-bu] Command line for monitor a job
>         >
>         >
>         >
>         > bpdbjobs -report
>         >
>         > Are you looking for the detailed information?
>         >
>         > <><><><><><><><><><><><><><><><><><><><>
>         > David A. Chapa
>         > Consulting Manager
>         > DataStaff, Inc.
>         > 847 413 1144
>         > http://www.consulting.datastaff.com
>         > ---------------------------------------
>         > NBU-LSERV AT datastaff DOT com - Adv. Scripting
>         > http://www.xbpadm-commands.com
>         >
>         > -----Original Message-----
>         > From: veritas-bu-admin AT mailman.eng.auburn DOT edu
>         > [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf
> Of
>         > mander47 AT sca.csc DOT com
>         > Sent: Friday, July 13, 2001 7:50 AM
>         > To: veritas-bu AT mailman.eng.auburn DOT edu
>         > Subject: [Veritas-bu] Command line for monitor a job
>         >
>         >
>         >
>         >
>         > Hi all
>         >
>         > I am trying find the command line that will give the same
> output as
>         >
>         > the monitor option in the job-monitor.
>         >
>         > I have played with bpdbjobs and bperror without luck.
>         >
>         > Anybody have any ideas ?
>         >
>         > Thanks in Advance
>         >
>         > Michael
>         >
>         >
>         > _______________________________________________
>         > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>         > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>         >
>         >
>         >
>         >
>         >
>         > _______________________________________________
>         > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>         > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>         >
>         >
>         >
>         >
>         > _______________________________________________
>         > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>         > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>         >
>
>
>
>
>
>         _______________________________________________
>         Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>         http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




<Prev in Thread] Current Thread [Next in Thread>