Veritas-bu

[Veritas-bu] (no subject)

2005-07-07 02:26:16
Subject: [Veritas-bu] (no subject)
From: bernd AT scheele DOT ch (bernd AT scheele DOT ch)
Date: Thu, 7 Jul 2005 08:26:16 +0200
Hi Paul,

Here is a skeleton how to find out these throughputs (see
NetBackup_Commands_UNIX.pdf, for more help at
http://support.veritas.com/docs/268116):

bpdbjobs -all_columns | grep -i active 

It's Field No. 15 as you can see below at the and of this email. Do a split in
perl... And then decide, what to do. The first field is jobid, you can cancel
this job via

bpdbjobs -cancel <jobid>

or suspend it with

bpdbjobs -suspend <jobid>.



-all_columns
        Summary displays all columns. Some of the more useful fields of this
        command are:
        field2 = jobtype
        (0=backup, 1=archive, 2=restore, 3=verify, 4=duplication, 5=import,
        6=dbbackup, 7=vault)
        field3 = state
        (0=queued, 1=active, 2=requeued, 3=done)
        field5 = policy
        (The policy that this job is associated with.)
        field6 = schedule
        (The schedule that this job is associated with.)
        field21 = subtype
        (0=immediate, 1=scheduled, 2=user-initiated)
        field24 = priority
        (The priority assigned to this job, as configured in the policy 
attributes.)
        The output of this command consists of a single line, per backup job.
        Each line of the output is a comma-delimited list in the following 
format:
        jobid,jobtype,state,status,class,schedule,client,server,started,el
        apsed,ended,stunit,try,operation,kbytes,files,pathlastwritten,perc
        ent,jobpid,owner,subtype,classtype,schedule_type,priority,group,ma
        sterserver,retentionunits,retentionperiod,compression,kbyteslastwr
        itten,fileslastwritten,filelistcount,[files]...,trycount,[trypid,t
        rystunit,tryserver,trystarted,tryelapsed,tryended,trystatus,trysta
        tusdescription,trystatuscount,[trystatuslines]...,trybyteswritten,
        tryfileswritten]...
        Refer to Example 1 for an example on how to interpret the -all_colums
        output.


Regards Bernd



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