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

Rendering a raw file manually

The nsr_render_log program is non-interactive. When you use the nsr_render_log program to render the contents of the .raw file to the locale of the host where you run the command, nsr_render_log prints the output to stdout. You can redirect this output to a file and view the output in a text editor.

The bin subdirectory in the NetWorker installation directory contains the nsr_render_log program. If the bin directory is not in the search path of the host where you run the command, include the full path when you use the nsr_render_log program. If you do not run the nsr_render_log command from the directory that contains the .raw file, include the path to the .raw file.

The nsr_render_log program supports a number of options that allow you to filter the contents of a .raw file and render the contents into an easy to read format.
  • To render a raw file into a format similar to a .log file and redirect the output to a text file, type: nsr_render_log -c -empathy raw_filename 1>output_filename 2>&1
    where:
    • raw_filename is the name of the unrendered file. For example, daemon.raw
    • output_filename is the name of the file to direct the output to
    • -c suppresses the category
    • -m suppresses the message ID
    • -e suppresses the error number
    • -a suppresses the activity ID
    • -p suppresses the process ID
    • -t suppresses the thread ID
    • -h suppresses the hostname
    • -y suppresses the message severity
  • To render a .raw file from a remote machine, type: nsr_render_log -c -empathy -R hostname raw_filename 1>output_filename 2>&1
    where:
    • hostname is the name of the host that contains the .raw file.
    • raw_filename is the name of the unrendered file. For example, daemon.raw
    • output_filename is the name of the file to direct the output to
    • -c suppresses the category
    • -e suppresses the error number
    • -m suppresses the message ID
    • -p suppresses the process ID
    • -a suppresses the activity ID
    • -t suppresses the thread ID
    • -h suppresses the hostname
    • -y suppresses the message severity
  • To render a .raw file and only view log file messages for a specific device, type: nsr_render_log -c -empathy -F devicename raw_filename 1>output_filename 2>&1
    where devicename is the name of the device.
  • To render only the most recently logged messages, type: nsr_render_log -c -empathy -B number raw_filename 1>output_filename 2>&1

    where number is the number of lines that you want to render.

    The NetWorker Command Reference Guide provides detailed information about the nsr_render_log program and the available options.

  • To render a .raw file and only view certain messages severities, type: nsr_render_log -c -empath -Y message_severity 1>output_filename 2>&1
    where message_severity is one of the severity types listed in the following table.
    Table 1. Message types
    Type Description
    Informational Information that may be useful, but does not require any specific action.
    Warning A temporary problem that NetWorker software may resolve or prompt you to resolve.
    Notification An event has occurred that generated a message.
    Error Errors that you are required to resolve.
    Critical Errors that you are required to resolve, to ensure successful NetWorker operations.
    Severe Errors that cause NetWorker services to become disabled or dysfunctional.

    The UNIX man page and the NetWorker Command Reference Guide provides detailed information about the nsr_render_log program and the available options.


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: <>()\