Sponsored Content
Operating Systems Solaris Looking for psrinfo-like command for Memory Modules Post 302269971 by Vi-Curious on Friday 19th of December 2008 08:16:19 AM
Old 12-19-2008
Looking for psrinfo-like command for Memory Modules

I've been looking for, but unable to find, a command/utility that functions kind of like psrinfo but for memory modules. I have Solaris 8 and Solaris 10 boxes. The output of prtdiag in Solaris 8 does not provide the status info for the CPUs and Memory Modules like it does in Solaris 10. Maybe Solaris 8 will show something that's faulty in the Fru Operational Status section but I don't know. Perhaps it's just been luck that the Solaris 8 boxes are not experiencing problems. But the Solaris 10 boxes have been having both CPU and Memory failures.

Code:
 
Host_Solaris8:> /usr/platform/`uname -i`/sbin/prtdiag | head -10
System Configuration: Sun Microsystems  sun4u Netra 240
System clock frequency: 160 MHZ
Memory size: 4GB
==================================== CPUs ====================================
                      E$          CPU     CPU       Temperature         Fan
       CPU  Freq      Size        Impl.   Mask     Die    Ambient   Speed   Unit
       ---  --------  ----------  ------  ----  --------  --------  -----   ----
     MB/P0  1280 MHz  1MB         US-IIIi  2.4       -        -
     MB/P1  1280 MHz  1MB         US-IIIi  2.4       -        -
 
 
Host_Solaris10:> prtdiag | head -10
System Configuration: Sun Microsystems  sun4u Netra 240
System clock frequency: 167 MHZ
Memory size: 4GB
==================================== CPUs ====================================
               E$          CPU                    CPU
CPU  Freq      Size        Implementation         Mask    Status      Location
---  --------  ----------  ---------------------  -----   ------      --------
0    1503 MHz  1MB         SUNW,UltraSPARC-IIIi    3.4    faulted     MB/P0
1    1503 MHz  1MB         SUNW,UltraSPARC-IIIi    3.4    on-line     MB/P1

When I first encountered a failed CPU, I then found psrinfo which gives consistent output whether on Solaris 8 or 10.

Code:
Host:> psrinfo
0       faulted   since 12/16/2008 12:45:49
1       on-line   since 12/04/2008 02:14:35

Since then, I've encounter failed memory modules on a Solaris 10 box. But, as with the CPUs, prtdiag in Solaris 8 does not have a status field for the memory.

Code:
 
Host_Solaris8:> /usr/platform/`uname -i`/sbin/prtdiag | tail -18 | head -6
Memory Module Groups:
--------------------------------------------------
ControllerID   GroupID  Labels
--------------------------------------------------
1              0        MB/P1/B0/D0,MB/P1/B0/D1
1              1        MB/P1/B1/D0,MB/P1/B1/D1
 
 
Host_Solaris10:> prtdiag | tail -8
Memory Module Groups:
--------------------------------------------------
ControllerID   GroupID  Labels         Status
--------------------------------------------------
0              0        MB/P0/B0/D0
0              0        MB/P0/B0/D1
1              0        MB/P1/B0/D0    failed
1              0        MB/P1/B0/D1    failed


If anyone knows of a consistent way, across Solaris8 and Solaris 10, to identify failed memory modules, I would love to hear it.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Memory Command

Hello, What are the comparative command in solaris for checking the memory and produced the output as free -m does in linux. (1 Reply)
Discussion started by: 009satyendra
1 Replies

2. Solaris

memory manufacturer command

Does anybody know the command i issue to find out the manufacturer of the RAM modules in my machine ....ie KINGSTON etc ....i know there is one because I saw sombody use it the other day cheers (1 Reply)
Discussion started by: hcclnoodles
1 Replies

3. Solaris

psrinfo -v and psradm

Hi Guys, I have T1000 box and here is the output : SunOS t1000 5.10 Generic_118833-20 sun4v sparc SUNW,Sun-Fire-T1000 Here is the output of psrinfo : # psrinfo 0 on-line since 10/02/2006 12:00:06 1 on-line since 10/02/2006 12:00:06 2 off-line since 12/07/2006... (6 Replies)
Discussion started by: sysgate
6 Replies

4. Solaris

How to show memory modules on 420R

I'm trying to determine what memory modules the box has so they can be ordered from a 3rd-party source and be replaced in-house (the box is not under warranty) I have a 420R running Solaris 9. # uname -a SunOS agatlsun04 5.9 Generic_118558-36 sun4u sparc SUNW,Ultra-80 Recently got a... (4 Replies)
Discussion started by: agcodba
4 Replies

5. UNIX for Advanced & Expert Users

' ps v PPID' command and real memory

hi Guys, Just wondering whether if I execute the ps v 1818740 and I get the below ouput what column should I use If I need to calculate how much real memory (private) is use by those process. Thanks. PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND ... (1 Reply)
Discussion started by: hariza
1 Replies

6. Solaris

psrinfo -p needs root login ?

Hi, I tried running psrinfo command on couple of machines but found that if i login as root then it works. But when i login other than root account, I get this error, $ /usr/sbin/psrinfo -pv | fgrep UltraSPARC /usr/sbin/psrinfo: illegal option -- p usage: psrinfo ... (8 Replies)
Discussion started by: Roshan1286
8 Replies

7. AIX

Command to fresh the memory !

Command to fresh the memory ! Some time during some load on the AIX system memory will get hang and will not respond for any new process. Can you please helper me with command to fresh the memory to avoid that hanging on the memory. (3 Replies)
Discussion started by: ITHelper
3 Replies

8. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

Hi all, I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command. Thanks in advance. Thanks, Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies

9. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies
prtdiag(1M)                                                                                                                            prtdiag(1M)

NAME
prtdiag - display system diagnostic information SYNOPSIS
/usr/sbin/prtdiag [-v] [-l] prtdiag displays system configuration and diagnostic information on sun4u and sun4v systems. The diagnostic information lists any failed field replaceable units (FRUs) in the system. The interface, output, and location in the directory hierarchy for prtdiag are uncommitted and subject to change in future releases. prtdiag does not display diagnostic information and environmental 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 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 diagnos- tics 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 attributes: +-----------------------------+-----------------------------+ | 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) NOTES
Not all diagnostic and system information is available on every Solaris platforn, and therefore cannot be displayed by prtdiag. On those platforms, further information can be obtained from the System Controller. 29 Aug 2005 prtdiag(1M)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy