Parsing The Command Line; Displaying Usage Information - Intel SRPL8 Product Manual

Intel server system product guide
Hide thumbs Also See for SRPL8:
Table of Contents

Advertisement

Parsing the Command Line

The FRUSDR load utility allows only one command line function at a time. A command line
function can consist of two parameters. Example: -cfg filename.cfg. Invalid parameters generate
an error message and cause the program to end. You can use either a slash (/) or a minus sign (-)
to specify command line options. The -p flag can be used in conjunction with any of the other
options.

Displaying Usage Information

When the utility is run with the -? or -h command line flags, the following message is displayed
when the verbose flag -v is added to the help command:
FRU & SDR Load Utility Version 2.1 Revision R.1.1
Usage:
Frusdr
-? or –h
-d {dmi,fru,sdr}
-cfg filename.cfg
-p
-v
Copyright (c) 1998, Intel Corporation, All Rights Reserved
This utility must be run from a system executing DOS. Running in a Window's
DOS box is insufficient and will provide incorrect results. Programming the
BMC FRU area clears the SDR table; therefore the SDR table must be reprogrammed.
Upon completing the programming of the FRU and SDR areas, the server should be
rebooted.
Note: DOS users may alternatively use a '/' instead of the '-'.
The following information displays if the -v option is included in the command line.
The /D FRU command may be followed with up to 16 device addresses. These device
addresses are used to view up to 16 different FRU areas, instead of the default
of displaying the BMC FRU.
order and value as the NVS_TYPE, NVS_LUN, DEV_CONTROLLER, DEV_BUS and DEV_ADDRESS
which are found in the FRU file header in each FRU file. The LUN address and
device controller are optional.
an 'L'.
If the device controller is used, it must start with a 'C' and all other
parameters must be present.
Usage:
Example:
The configuration file can be used to load multiple FRU and SDR files. In the configuration file,
you can define which FRU and SDR areas are to be programmed. Additionally, you can request
information from the user or ask the user to choose which areas to program.
74
Displays usage information.
Only displays requested area.
Uses custom CFG file.
Pause between blocks of data.
Verbose, display any additional details.
The arguments following the "-d FRU" are in the same
If the LUN address is used, it must start with
FRUSDR -d fru (device) [devctrl] [lun] (bus) (addr) (addr2) (etc)
FRUSDR /D FRU IMBDEVICE C22 L00 00 C0 C2
Configuration Software and Utilities

Advertisement

Table of Contents
loading

Table of Contents