Unix‎ > ‎Solaris‎ > ‎Solaris man pages‎ > ‎1m‎ > ‎


     prtdiag - display system diagnostic information

     /usr/sbin/prtdiag [-v] [-l]

     prtdiag displays system configuration and diagnostic  infor-
     mation on sun4u and sun4v systems.

     The diagnostic information lists any failed  field  replace-
     able units (FRUs) in the system.

     The interface, output, and location in the directory hierar-
     chy  for  prtdiag  are  uncommitted and subject to change in
     future releases.

     prtdiag does not display diagnostic information and environ-
     mental  status  when  executed  on  the Sun Enterprise 10000
     server.                       See                        the
     /var/opt/SUNWssp/adm/${SUNW_HOSTNAME}/messages  file  on the
     system service processor (SSP) to  obtain  such  information
     for this server.

     The following options are supported:

     -l       Log output. If failures or errors exist in the sys-
              tem, output this information to syslogd(1M) only.

     -v       Verbose mode. Displays the time of the most  recent
              AC  Power  failure,  and  the  most recent hardware
              fatal  error  information,  and   (if   applicable)
              environmental  status.  The  hardware  fatal  error
              information is useful to repair  and  manufacturing
              for detailed diagnostics of FRUs.

     The following exit values are returned:

     0        No failures or errors are detected in the system.

     1        Failures or errors are detected in the system.

     2        An internal prtdiag error  occurred,  for  example,
              out of memory.

     See attributes(5) for descriptions of the  following  attri-

    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    | Availability                | SUNWkvm                     |
    | Interface Stability         | Unstable*                   |

     *The output is unstable.

     modinfo(1M),    prtconf(1M),    psrinfo(1M),     sysdef(1M),
     syslogd(1M), attributes(5), openprom(7D)

     Not all diagnostic and system information  is  available  on
     every Solaris platform, and therefore cannot be displayed by
     prtdiag. On those  platforms,  further  information  can  be
     obtained from the System Controller.

Man pages from Solaris 10 Update 8. See docs.sun.com and www.oracle.com for further documentation and Solaris information.