Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Using nsrpolicy monitor

Use the nsrpolicy monitor command to query the jobsdb for details and status information about an active or inactive job started by a Data Protection Policy resource.

The nsrpolicy monitor command allows you to view information about the last active or inactive job that is associated with a Policy resource in a tabular or non-tabular output. You can display output for all Data Protection Policy resources in a policy, or limit the output by client name, workflow name, or protection group name.

nsrpolicy monitor -p policy_name -w workflow_name -c client_name -g group_name -d -n -j job_id -s networker_server -D debug_level

where:

  • -p policy_name —Specifies the name of the Policy resource. You cannot use this option with -g group_name.
  • -w workflow_name—Specifies the name of the Workflow resource. Requires the -p policy_name option or the -j job_id option.
  • -c client_name—Specifies the name of the Client resource. Requires the -g group_name option.
  • -g group_name—Specifies the name of the Protection Group. You cannot use this option when you use the -p policy_name option.
  • -d— Displays detailed information about the job.
  • -n— Displays the output in non-tabular view.
  • -j job_id— Displays detailed information about a specific job, which is identified by the jobid. You cannot use this option when you use the -p policy_name option.

Displaying job details for a Workflow resource

To retrieve the details about the last active or inactive jobs in a Workflow resource, type the following command:

nsrpolicy monitor -p policy_name [-w workflow_name]

For example, to provide information about a workflow that is called Default in the Backup Policy, type the following command:

nsrpolicy monitor -p Backup -w Default
Table 1. Job details for a Workflow
Policy Workflow Action Job Name Job id Parent Job id Job Type Job Status Completion Status Start Time Duration
Backup Default Backup 32524 Workflow COMPLETED succeeded 5/26/15 16:59:43 00:01:22
Backup Default Backup savegrp 32525 32524 Backup act COMPLETED succeeded 5/26/15 16:59:43 00:01:21

For example, to provide detailed information about the last active or inactive jobs in a workflow that is called Default in the Backup Policy, type:

nsrpolicy monitor -p Backup -w Default -d
Table 2. Job details for a Workflow continued
Policy Workflow Action Job Name Job id Parent Job id Job Type Job Status Completion Status Start Time Duration
Backup Default Backup 32524 Workflow COMPLETED succeeded 5/26/15 16:59:43 00:01:22
Backup Default Backup savegrp 32525 32524 Backup act COMPLETED succeeded 5/26/15 16:59:43 00:01:21
pseudo_sav 32527 32525 save job COMPLETED succeeded 5/26/15 16:59:50 00:01:14
C:\Softwar 32528 32527 save job COMPLETED succeeded 5/26/15 17:00:47 00:00:14
bu-iddnwse 32526 32525 savefs job COMPLETED succeeded 5/26/15 16:59:43 00:00:01

For example, to display detailed information about the last active or inactive job in a Workflow resource, in a non-tabular format, type:

nsrpolicy monitor -p Backup -w Default -d -n

Workflow status:
        data protection policy name:Backup
        workflow name:Default
        name:Backup
        job id:32524
        type:workflow job
        job state:COMPLETED
        completion status:succeeded
        start time: 5/26/15 16:59:43
        duration: 00:01:22
        Action 1 status:
                data protection policy name:Backup
                workflow name:Default
                policy action name:backup
                name:savegrp
                job id:32525
                parent job id:32524
                type:backup action job
                job state:COMPLETED
                completion status:succeeded
                start time: 5/26/15 16:59:43
                duration: 00:01:21

Displaying job details for a client in a group

To retrieve the information about the last job for a client in a group, type the following command:

nsrpolicy monitor -c client_name -g group_name

For example:

nsrpolicy monitor -c bu-iddnwserver3.iddlab.local -g Default

Workflow status:
        data protection policy name:Backup
        workflow name:Default
        name:savegrp
        job id:32525
        type:backup action job
        job state:ACTIVE
        completion status:
        start time: 5/26/15 16:59:43
        duration: unknown

Displaying information about a workflow or backup action

To retrieve information about of a specific workflow or job action, type the following command:

nsrpolicy monitor -j job_id

For example, to view an information about a job with jobid 32524, type the following command:

nsrpolicy monitor -j 32524


           activity progress: 1/1/0;
            actual exit code: 0;
                   adhoc job: False;
                    authtype: ;
                   automatic: False;
       Checkpoint restart ID: ;
Checkpoint restart sequence: ;
                     command: ;
         completion severity: 10;
           completion status: succeeded;
data protection policy name: Backup;
            dependent job id: 0;
                    end time: 1432674065;
             exit code known: True;
                        host: bu-iddnwserver3.iddlab.local;
                  input flag: False;
                      job id: 32524;
                job log file: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\policy\\Backup\\workflow_Default\
_032524";
                  job output: \
"133550 1432673983 1 0 0 4100 3352 0 bu-iddnwserver3.iddlab.local nsrworkflow \
NSR notice 31 Starting %s '%s' workflow '%s'. 3 11 24 127405:Protection Policy\
0 6 Backup 0 7 Default
123316 1432673983 1 0 0 4100 3352 0 bu-iddnwserver3.iddlab.local nsrworkflow N\
SR notice 46 Starting action '%s/%s/%s' with command: '%s'. 4 0 6 Backup 0 7 D\
efault 0 6 backup 0 32 savegrp -Z backup:traditional -v
123321 1432673983 1 0 0 4100 3352 0 bu-iddnwserver3.iddlab.local nsrworkflow N\
SR notice 39 Action '%s/%s/%s's log will be in '%s'. 4 0 6 Backup 0 7 Default \
0 6 backup 23 75 C:\\Program Files\\EMC NetWorker\\nsr\\logs\\policy\\Backup\\\
Default\\backup_032525
123325 1432674065 1 0 0 4100 3352 0 bu-iddnwserver3.iddlab.local nsrworkflow N\
SR notice 21 Action '%s/%s/%s' %s. 4 0 6 Backup 0 7 Default 0 6 backup 0 9 suc\
ceeded
133553 1432674065 1 0 0 4100 3352 0 bu-iddnwserver3.iddlab.local nsrworkflow N\
SR notice 27 Workflow '%s/%s' succeeded. 2 0 6 Backup 0 7 Default";
                   job state: COMPLETED;
                        name: Backup;
                   ndmp flag: False;
           NW Client name/id: ;
         override parameters: ;
               parent job id: 0;
policy definition changetime: 1431525315508563;
             previous job id: 0;
           protection groups: Default;
   Reason job was terminated: ;
              redirect stdio: False;
             remote password: ;
                 remote user: ;
        restricted data zone: ;
          root parent job id: 0;
             savegrp spawned: False;
              sibling job id: ;
                        SSID: ;
                  start time: 1432673983;
                        type: workflow job;
             type attributes: ;
                type classes: ;
                   type help: ;
                   type name: ;
             type references: ;
                  type table: ;
                      userid: ;
               workflow name: Default;
         resource identifier: 223.0.232.10.0.0.0.0.192.87.83.85.172.21.21.102(9);


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\