Veritas-bu

[Veritas-bu] Command line for monitor a job

2001-07-13 14:23:39
Subject: [Veritas-bu] Command line for monitor a job
From: John_Wang AT enron DOT net (John_Wang AT enron DOT net)
Date: Fri, 13 Jul 2001 13:23:39 -0500
Hello James

It's just a bleeding text file.   bpdbjobs  processes those text files and works
great but it's still just a bleeding text file...

Note, I am in front of a Netbackup server, it is on Solaris, and I do run things
under truss when I'm terribly bored... whooping big deal; but quite frankly it
doesn't matter how bpdbjobs continues to get it's updates, whether it's a
differential feed from a persistent connection or just a periodic rescan, the
original poster simply wanted convenient access to the data probably for
scripting purposes.    Hence he can access the data directly as it's in a text
file, or he can run bpdbjobs to extract the data from the text files.

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     |
|        |          01:12 PM     |
|        |                       |
|--------+----------------------->
  >--------------------------------------------------------------------|
  |                                                                    |
  |       To:     John Wang/Contractor/Enron Communications@Enron      |
  |       Communications                                               |
  |       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

Hmmmm.... Let's see if I can remember this correctly.

When I ran truss against the command bpdbjobs -report -all_columns
-stay_alive, I remember that it did exactly that. It would go to all the
text files in the jos database and then write them out.

But I what I though was, after it reached the interactive sessions stuff
that it connected to the bpdbm to actually get live client update
status. I don't remember seeing it read anything from a file right then
and there.

If you could, (and you're on a Solaris box) try running the following


truss -aef -o /tmp/trussoutput bpdbjobs -report -all_columns -stay_alive

when you're done with the test, you should see some stuff in the
/tmp/trussoutput command. If you send it back to me, I'll try to pinpoint
where I thought I saw this. If I can't I stand corrected and apologize if
I'm wrong.... :) I'd do this myself, but currently I'm not in front of a
Netbackup server, nor will I be for a few more weeks.

           -- Cheers
           -- James






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