Sunday, October 12, 2014

Unix command to check memory in solaris

Unix command to check memory in solaris

check Total physical memory:

# prtdiag -v | grep Memory

# prtconf | grep Memory

prtconf | grep "Memory"

---

check Free physical Memory:

# top (if available)

# sar -r 5 10
Free Memory=freemen*8 (pagesize=8k)

# vmstat 5 10
Free Memory = free

---

For swap:

# swap -s
# swap -l

No comments: