Is there a way to find out the total memory that a unix system has? I mean total memory that a system running oracle has.
Printable View
Is there a way to find out the total memory that a unix system has? I mean total memory that a system running oracle has.
Do a top command at the unix prompt
> top
Memory: 2048M real,
Tells you how much RAM you have on your system.
Cheers
you can also check how much memmory is available using :
#sar -r
#man sar
will give you help pages on this.
man -kwill give you related commands to a subject of your choice. e.g. man -k memmory.
Suresh
TOP is not installed by default in Solaris for example.Quote:
Originally posted by grjohnson
Do a top command at the unix prompt
> top
You can also try
prtcnf|grep mem
Sorry that should be
prtconf|grep mem
never could use a keyboard
I am afraid PRTCONF does not work in Solaris. It works in HP and Linux.Quote:
Originally posted by sazzadur
Sorry that should be
prtconf|grep mem
never could use a keyboard
That should beQuote:
Originally posted by sazzadur
Sorry that should be
prtconf|grep mem
never could use a keyboard
prtconf|grep -i mem
Strange, in my Solaris does ... try lowercase ;-)Quote:
Originally posted by julian
I am afraid PRTCONF does not work in Solaris. It works in HP and Linux.
$ uname -sir
SunOS 5.6 SUNW,Ultra-4
$ prtconf|head -2
System Configuration: Sun Microsystems sun4u
Memory size: 1024 Megabytes
Yep, it worked :-)Quote:
Solaris does ... try lowercase
For finding out free memory on Solaris, I've tried as suggested but it complains:
# sar -r
sar: can't open /var/adm/sa/sa06
No such file or directory
I went to the /var/adm/sa and check, there is no sa06 indeed. Do I need to do anything before I run sar -r?
Thanks,