There are various options to check memory in Solaris. I am running Solaris 8 on Sun Fire server, these Solaris commands can run on any x86 or SPARC platforms.
- Check real/physical memory size in Solairs using dmesg (message information during boot time ):
# dmesg |grep mem Dec 14 21:56:21 bos-solaris unix: [ID 168242 kern.info] mem = 523836K (0x1ff8f000) |
This Solaris server has 512 mb physical memory ,dmesg output show memory in kilobytes which is 512 Megabytes.
2. Check memory size in solairs using prtdiag :
# /usr/platform/sun4u/sbin/prtdiag |grep Memory Memory size: 512 Megabytes |
Running prtdiag output show memory as 512 megabyes
3. Check Memory size in Solaris using prtconf :
# prtconf -v |grep Mem Memory size: 512 Megabytes |
Running prtconf with –v shows memory size in megabytes








0 comments
Post a Comment