Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

BPDBJOBS -Most Columns

Created: 22 Nov 2011 | 1 comment

All

TIA

I hate using the java gui, and there are no Win servers in my environment.  So i need to use CLI to monitor the activity monitor.

I need to modify the output of bpdbjobs to only display the following:

BPDBJOBS_COLDEFS = JOBID 5 true
BPDBJOBS_COLDEFS = TYPE 4 true
BPDBJOBS_COLDEFS = STATE 5 true
BPDBJOBS_COLDEFS = STATUS 6 true
BPDBJOBS_COLDEFS = POLICY 6 true
BPDBJOBS_COLDEFS = SCHEDULE 8 true
BPDBJOBS_COLDEFS = CLIENT 6 true
BPDBJOBS_COLDEFS = DSTMEDIA_SERVER 12 true
BPDBJOBS_COLDEFS = KBPERSEC 10 true

 

However, the senior NBU admin does not want me to add these entries to the bp.conf.  No technical reason, it is a "just because" type of answer, but this is subject for a longer discussion. 

I know that adding these entries to the bp.conf would be the easiest way to accomplish my desired results, but since that is not on the table.  I was hoping that someone out there might have had a work around for using the bp.conf entries.  Your assistance would be greatly appreciated.

Comments 1 CommentJump to latest comment

Andy Welburn's picture

& cut/awk the fields out that are of interest?

***EDIT***

I was presuming you were already aware of this, but just in case (!):

DOCUMENTATION: In NetBackup 6.x and 7.x, what does the output of "bpdbjobs -most_columns" mean?
http://www.symantec.com/business/support/index?pag...

so

bpdbjobs -ignore_parent_jobs -most_columns|awk -F',' '{print $1,$2,$3,$4,$5,$6,$7,$35}'

or whatever......