Table of Contents

HPE ProLiant Server CLI Commands

hpdiags - How to use hpdiags command on HPE ProLiant Server



help

#/opt/hp/hpdiags/hpdiags -h

-l languageCode  options: en, fr, it, de, es, ja, zh (Default: en)

-v [Level]       Verbosity level of output between 1 and 5.
                 where 1 is the most terse level and 5 is the most verbose.
                 The default value is set to 5.

-o FILE          Specify output file name. By default, a file name is formed
                 using the current date and time in this format:
                 "surveyYYYY-MM-DD-hh-mm-ss.xml"
                 (YYYY=year, MM=month, DD=day, hh=hour, mm=minute, ss=second)
                 May not be used with -t.

-t               Output to the terminal. May not be used with -o.

Example

/opt/hp/hpdiags/hpdiags -v 5 -o /tmp/tmp.xml
/opt/hp/hpdiags/hpdiags -v 1 -t |grep eth