My solaris system has 16GB RAM and swap. /tmp is associated
to swap. We use vmstat command to get used system memory.
We observe that once we fill up /tmp, it reflects in vmstat
command. My intention is only to get overall used memory in
RAM.
1. Can you let me know the if there is a solaris command to
just get used memory in RAM?
2. How is /tmp filling up associated to "free memory" in
vmstat command?
Answers were Sorted based on User's Feedback
Answer / baru
1.#prtconf -v|grep -i mem // in this command shows total
ram size.
2.#prstat //in this command output having RSS field ,this
field shows how much ram space is used .
Is This Answer Correct ? | 3 Yes | 0 No |
In Solaris, how to check the number of Users currently logged in ?
Command to find the VCS status
What is the command to check the connectivity between 2 nodes
How to stop one node cluster exclusively
in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?
How would you truncate a log file that is growing too large if you don't have space to compress it or to move it somewhere else? How would you do it?
How to change the hostname and Ethernet address in single command
How to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?
How to check and analyze the logs in /var/adm/messages?
How can you recover the backup of NIC card if it is corrupted?
How will you grow a disk space whitout disturbs
How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user