Hi
I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard.
Hi
I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard.
look at "vmstat".
Hi
I am getting the following when i use the vmstat but unable to decipher much out of it. Can any body help..
$ vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m2 m3 in sy cs us sy id
0 0 0 6646576 2928584 22 116 2 0 0 0 0 1 1 1 0 506 142 15 1 1 99
maybe a look at the vmstat manpage can help you out?
root@miraculix # vmstat 1
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd -- in sy cs us sy id
1 0 0 5243008 1848104 179 1157 608 8 2 0 284 0 39 0 0 1184 5525 2222 13 10 77
0 0 0 5752976 1805520 2 51 0 0 0 0 0 0 0 0 0 1151 184 169 0 1 99
0 0 0 5752968 1805512 0 1 0 0 0 0 0 0 0 0 0 1153 89 165 0 0 100
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 0 0 0 1141 91 158 0 1 99
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 0 0 0 1149 87 156 0 0 100
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 1 0 0 1148 96 170 0 1 99
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 0 0 0 1146 82 167 0 0 99
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 0 0 0 1189 119 190 0 1 99
0 0 0 5752968 1805512 0 0 0 0 0 0 0 0 0 0 0 1185 106 182 0 0 100
if you want to see what procs are using most memory, use this command so u have a sorted list of procs.
prstat -s size
vmstat and top are good alternatives. Vmstat is not very obvious about the usage, but once u have read the man page, things get a little easier.
-GGR