Results 1 to 7 of 7
-
02-19-2009, 10:57 AM #1
- Join Date
- Feb 2009
- Posts
- 4
how to check solaris memory usage?
how to check solaris memory usage?
-
02-26-2009, 11:36 AM #2
- Join Date
- Dec 2003
- Posts
- 7,868
You can use prastat -a command.
DataCenterTalk Rate, review and Discuss about datacenters.
DatacenterSearch Where your datacenter search ends.
-
02-26-2009, 04:22 PM #3
- Join Date
- Oct 2008
- Posts
- 154
You can use
sar -r -f sa25
sar -u 10 60
mpstat 10 60
-
07-13-2009, 09:56 PM #4
- Join Date
- Jun 2009
- Posts
- 13
more help:
Solaris display Memory Size (RAM size):
prtconf | grep Mem
or
prtconf|grep -i mem
Available page sizes (SWAP) for Solaris:
pagesize -a
Display RAM Size on HP-UX:
dmesg
Display RAM Size on AIX
lsdev -C|grep mem
Now if memory device is mem0, then type
lsattr -El mem0
All linux distro:
free
Also almost all UNIX system support vmstat command, use vmstat to get more info.
vmstat
-
07-16-2009, 02:17 AM #5
- Join Date
- Jun 2009
- Posts
- 211
Thanks for great information. vmstat is good choice
Athlon
-
04-06-2013, 03:37 AM #6
- Join Date
- Apr 2013
- Posts
- 1
Thanks for great information. To get one of our new Solaris servers well optimized, I’ve tried different ways to check memory usage recently.
-
11-03-2017, 03:04 PM #7
- Join Date
- Apr 2016
- Posts
- 12
vmstat is not that useful to measure memory usage. It doesn't give any metric quantifying how much virtual and physical memory is used and what is using it. It is however a very good tool to measure RAM shortage. You just need to monitor the sr column (scan rate). As long as it stays equal to zero, you shouldn't worry about RAM. If it is not equal to zero, you should investigate what is demanding RAM.
Bookmarks