1 PRTDIAG(1M)                  Maintenance Commands                  PRTDIAG(1M)
   2 
   3 
   4 
   5 NAME
   6        prtdiag - display system diagnostic information
   7 
   8 SYNOPSIS
   9        /usr/sbin/prtdiag [-v] [-l]
  10 
  11 
  12 DESCRIPTION
  13        prtdiag displays system configuration and diagnostic information on
  14        sun4u, sun4v, and x86 systems.
  15 
  16 
  17        The diagnostic information lists any failed field replaceable units
  18        (FRUs) in the system.
  19 
  20 
  21        The interface, output, and location in the directory hierarchy for
  22        prtdiag are uncommitted and subject to change in future releases.
  23 
  24 OPTIONS
  25        The following options are supported:
  26 
  27        -l
  28              Log output. If failures or errors exist in the system, output
  29              this information to syslogd(1M) only.
  30 
  31 
  32        -v
  33              Verbose mode. Displays the time of the most recent AC Power
  34              failure, and the most recent hardware fatal error information,
  35              and (if applicable) environmental status. The hardware fatal
  36              error information is useful to repair and manufacturing for
  37              detailed diagnostics of FRUs.
  38 
  39 
  40 EXIT STATUS
  41        The following exit values are returned:
  42 
  43        0
  44             No failures or errors are detected in the system.
  45 
  46 
  47        1
  48             Failures or errors are detected in the system.
  49 
  50 
  51        2
  52             An internal prtdiag error occurred, for example, out of memory.
  53 
  54 
  55 ATTRIBUTES
  56        See attributes(5) for descriptions of the following attributes:
  57 
  58 
  59 
  60 
  61        +--------------------+-----------------+
  62        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
  63        +--------------------+-----------------+
  64        |Interface Stability | Unstable*       |
  65        +--------------------+-----------------+
  66 
  67 
  68        *The output is unstable.
  69 
  70 SEE ALSO
  71        modinfo(1M), prtconf(1M), psrinfo(1M), sysdef(1M), syslogd(1M),
  72        attributes(5), openprom(7D)
  73 
  74 NOTES
  75        Not all diagnostic and system information is available on every
  76        platform, and therefore cannot be displayed by prtdiag. On those
  77        platforms, further information can be obtained from the System
  78        Controller.
  79 
  80 
  81 
  82                                  June 13, 2019                     PRTDIAG(1M)