Parsing the Command Line

The FRU/SDR Load Utility allows only one command line function at a time. A command line function may consist of two parameters; for example: cfg filename.cfg. Any invalid parameters result in displaying an error message and exiting the program. You can use either a slash (/) or a minus sign (-) to specify command line options. The /p flag may 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:

FRU & SDR Load Utility Version X.XX

Usage: Frusdr

Is the name

of the utility.

/? Or /h

Displays usage information.

/d {smb,fru,sdr}

Only

displays

requested area.

/cfg filename.cfg

Uses

custom

CFG file.

/p

Pause between

blocks of data.

Displaying a Given Area

When the utility is run with the /d SMB, /d FRU, or /d SDR command line flag, the indicated area is displayed. Each area represents a sensor; one sensor for each instrumented device in the server. If the given display function fails because of an inability to parse the data present or a hardware failure, the utility displays an error message and exits.

Displaying SM BIOS Area

The SM BIOS area is displayed in ASCII format when the field is ASCII or as a number when the field is a number. Each SM BIOS area displayed is headed with the SM BIOS area designated name. Each field has a field name header followed by the field in ASCII or as a number.

Displaying FRU Area

The FRU area is displayed in ASCII format when the field is ASCII or as a number when the field is a number. Each FRU area displayed is headed with the FRU area designated name. Each field has a field name header followed by the field in ASCII or as a number. The Board, Chassis, and Product FRU areas end with an END OF FIELDS CODE that indicates there is no more data in this area. The Internal Use area is displayed in hex format, 16 bytes per line.

Displaying SDR Area

The SDR nonvolatile storage area is displayed in the following hex format. A Sensor Record Number X header separates the data; where X is the number of that sensor record in the SDR area. The next line after the header is the sensor record data in hex format delineated by spaces. Each line holds up to 16 bytes. The data on each line is followed by the same data in ASCII format; nonprintable characters are substituted by a period (.).

54

xSeries 343 Hardware Maintenance Manual

Page 66
Image 66
IBM 343 manual Parsing the Command Line, Displaying Usage Information, Displaying a Given Area