Subject : Memory size 확인?

Solution Description:
=====================

Determining Memory Under 4.x System Without Relying on Dmesg
                or /var/adm/messages Output

The method must be reliable and standard and cannot rely on dmesg because of 
buffer size restriction.

Under SunOS 4.x:

  # dd if=/dev/mem of=/dev/null
  dd: read: Bad address
  32768+0 records in
  32768+0 records out

  32768 is the amount of RAM in Kbytes for this system, or 32MB.

Under Solaris 2.x, use:

  # prtconf | grep Memory
  Memory size: 64 Megabytes


----------------------------------------------------------------------------

Revision History

작성일자 : 97.03.12
작성자 : 이민호

수정일자 :
수정자 :