MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
July
Sun Mon Tue Wed Thu Fri Sat
           
14
         
2006
Months
Jul


Fri, Jul 14, 2006 1:23 pm

Solaris Prtdiag Command

The prtdiag can be used on Solaris systems to display system diagnostic information.

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

The following options are supported:

-l       Log output. If failures or errors exist in the
         system, 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.

If you are running Solaris 10 on an x86-based PC, the prtdiag command does not work on some earlier releases of Solaris 10. I have two PCs running Solaris 10. I installed the 3/05 release of Solaris 10 on the first and the 6/06 release of Solaris 10 on the second. On the first system I see "prtdiag: not implemented on i86pc" when I try to run prtdiag. On the system with the 6/06 release, prtdiag works and shows me the information below. You can determine which release you are using by looking at the contents of the /etc/release file.


# prtdiag
System Configuration: System manufacturer System Product Name
BIOS Configuration: American Megatrends Inc. 0501 08/26/2005

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
AMD Athlon(tm) 64 Processor 3000+ Socket 939

==== Memory Device Sockets ================================

Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
DDR     in use 0   DIMM0               BANK0
DDR     in use 0   DIMM1               BANK1
DDR     empty  0   DIMM2               BANK2
DDR     empty  0   DIMM3               BANK3

==== On-Board Devices =====================================
 Onboard Ethernet

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
0   in use    PCI-X            PCIEX16
3   available PCI              PCI_1
4   available PCI              PCI_2
5   available PCI              PCI_3
1   available PCI-X            PCIEX1_1
2   available PCI-X            PCIEX1_2

[/os/unix/solaris] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo