memconf
mercredi 17 septembre 2008
par
popularité : 2%
par
popularité : 2%
Voici un script « memconf » très sympathique trouvé sur http://www.4schmidts.com/unix.html
http://www.4schmidts.com/memconf.html
Il permet de donner des informations sur la mémoire de votre machine SUN.
Vous pouvez télécharger : memconf.gz
Voici des exemples :
# memconf hostname: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) (Ultra 5) Memory Interleave Factor = 2-way socket DIMM1 has a 32MB DIMM socket DIMM2 has a 32MB DIMM socket DIMM3 has a 32MB DIMM socket DIMM4 has a 32MB DIMM empty sockets: None total memory = 128MB # # # # memconf -d memconf: V1.47 09-Aug-2002 http://www.4schmidts.com/unix.html hostname: banner: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) model: Ultra-5_10 (Ultra 5) Sun development name: Darwin/Otter (U5), Darwin/SeaLion (U10) Solaris 8 s28_38shwp2 SPARC, 64-bit kernel, SunOS 5.8 1 UltraSPARC-IIi cpu, cpu freq: 270MHz, system freq: 90MHz banner = Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) model = Ultra-5_10 machine = sun4u platform = SUNW,Ultra-5_10 ultra = 5 motherboard = SUNW,375-0009 romver = OBP 3.11.9 1998/03/06 10:31 perl version: 5.00503 memory line: 00000000.00000000.00000000.04000000.00000000.10000000.00000000.04000000 CPU Units: ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- 0 0 0 270 0.2 12 1.2 Memory Units: Memory Interleave Factor = 2-way socket DIMM1 has a 32MB DIMM (bank 0L, address 0x00000000-0x03ffffff) socket DIMM2 has a 32MB DIMM (bank 0H, address 0x00000000-0x03ffffff) socket DIMM3 has a 32MB DIMM (bank 1L, address 0x10000000-0x13ffffff) socket DIMM4 has a 32MB DIMM (bank 1H, address 0x10000000-0x13ffffff) empty sockets: None total memory = 128MB # # # # memconf -v memconf: V1.47 09-Aug-2002 http://www.4schmidts.com/unix.html hostname: banner: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) model: Ultra-5_10 (Ultra 5) Sun development name: Darwin/Otter (U5), Darwin/SeaLion (U10) Solaris 8 s28_38shwp2 SPARC, 64-bit kernel, SunOS 5.8 1 UltraSPARC-IIi cpu, cpu freq: 270MHz, system freq: 90MHz CPU Units: ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- 0 0 0 270 0.2 12 1.2 Memory Units: Memory Interleave Factor = 2-way socket DIMM1 has a 32MB DIMM (bank 0L, address 0x00000000-0x03ffffff) socket DIMM2 has a 32MB DIMM (bank 0H, address 0x00000000-0x03ffffff) socket DIMM3 has a 32MB DIMM (bank 1L, address 0x10000000-0x13ffffff) socket DIMM4 has a 32MB DIMM (bank 1H, address 0x10000000-0x13ffffff) empty sockets: None total memory = 128MB # # # # memconf -h Usage: memconf [ -v | -D | -h ] [explorer_dir] -v verbose mode -D E-mail results to memconf maintainer -h print help explorer_dir Sun Explorer output directory This is memconf, V1.47 09-Aug-2002 Please send bug reports and enhancement requests along with the output of "/usr/etc/devinfo -pv" and "/usr/platform/SUNW,Ultra-5_10/sbin/prtdiag -v" to tschmidt@micron.com as E-mail attachments so that memconf can be enhanced. You can do this using the 'memconf -D' command. Check my website at http://www.4schmidts.com/unix.html to get the latest version of memconf. # # # # # memconf -h memconf: V1.47 09-Aug-2002 http://www.4schmidts.com/unix.html hostname: banner: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) model: Ultra-5_10 (Ultra 5) Sun development name: Darwin/Otter (U5), Darwin/SeaLion (U10) Solaris 8 s28_38shwp2 SPARC, 64-bit kernel, SunOS 5.8 1 UltraSPARC-IIi cpu, cpu freq: 270MHz, system freq: 90MHz banner = Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz) model = Ultra-5_10 machine = sun4u platform = SUNW,Ultra-5_10 ultra = 5 motherboard = SUNW,375-0009 romver = OBP 3.11.9 1998/03/06 10:31 perl version: 5.00503 memory line: 00000000.00000000.00000000.04000000.00000000.10000000.00000000.04000000 CPU Units: ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- 0 0 0 270 0.2 12 1.2 Memory Units: Memory Interleave Factor = 2-way socket DIMM1 has a 32MB DIMM (bank 0L, address 0x00000000-0x03ffffff) socket DIMM2 has a 32MB DIMM (bank 0H, address 0x00000000-0x03ffffff) socket DIMM3 has a 32MB DIMM (bank 1L, address 0x10000000-0x13ffffff) socket DIMM4 has a 32MB DIMM (bank 1H, address 0x10000000-0x13ffffff) empty sockets: None total memory = 128MB Sending E-mail to memconf maintainer tschmidt@micron.com with output of: memconf -d (seen above) /usr/sbin/prtconf -pv /usr/platform/SUNW,Ultra-5_10/sbin/prtdiag -v #
Man de la commande :
Maintenance Commands memconf(1M)
NAME
memconf - Display information about installed memory
SYNOPSIS
memconf [ -h ] [ -D ] [ -v ] [ explorer_dir ]
DESCRIPTION
memconf is a Perl script that displays information about the
memory installed in a SPARC system. It reports the size of
each SIMM/DIMM memory module installed in the system,
including which motherboard memory slot each is in. And it
also reports the system type and any empty memory sockets.
It works for most Sun SPARC systems running SunOS 4.1.X or
Solaris 2.X.
OPTIONS
-h Display a small help message.
-D Send results to memconf maintainer. This will E-mail
the output of "memconf -d", "prtconf -pv" or
"devinfo -pv", and "prtdiag -v" if available to
tschmidt@micron.com
-v Be verbose. In this mode memconf also reports:
banner name, model, and CPU/system frequencies, as
well as the address range and bank numbers for each
memory module.
explorer_dir
Uses Sun Explorer output directory for input. You
can download Sun Explorer from
http://sunsolve.Sun.COM/diag/explorer/SUNWexplo.tar.Z
In this case, memconf can be run on Sun Explorer
data on any platform with Perl installed, including
Solaris x86, Linux and Windows.
WEBSITE
http://www.4schmidts.com/unix.html
BUGS
Please send bug reports and enhancement requests along with
the output of the following commands to tschmidt@micron.com
as E-mail attachments so that memconf can be enhanced.
Please include the Sun Model and Operating System version.
SunOS 4.1.X
/usr/etc/devinfo -pv
Solaris 2.X
/usr/sbin/prtconf -pv
/usr/platform/uname -m
/sbin/prtdiag -v (if available)
You can do this using the 'memconf -D' command. If an
unrecognized system is a Sun clone, please also send any
hardware documentation on the memory layout that you may
have.
AUTHORS
Tom Schmidt (tschmidt@micron.com)
Original version based on SunManagers SUMMARY by Howard
Modell (h.modell@ieee.org)
SEE ALSO
devinfo(8S), prtconf(1M), prtdiag(1M), perl(1), sysinfo(1)
Maintenance CommandsLast change: 09 Aug 2002
Commentaires Forum fermé