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



My solaris system has 16GB RAM and swap. /tmp is associated to swap. We use vmstat command to get ..

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

My solaris system has 16GB RAM and swap. /tmp is associated to swap. We use vmstat command to get ..

Answer / sarav

let we know used memory from # prtconf | grep -i mem

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Solaris Commands Interview Questions

In Solaris, how to check the number of Users currently logged in ?

8 Answers   CTS,


Command to find the VCS status

3 Answers  


What is the command to check the connectivity between 2 nodes

2 Answers   IBM,


How to stop one node cluster exclusively

1 Answers  


in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?

3 Answers   Wipro,






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?

3 Answers  


How to change the hostname and Ethernet address in single command

2 Answers  


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?

7 Answers   Softenger,


How to check and analyze the logs in /var/adm/messages?

2 Answers  


How can you recover the backup of NIC card if it is corrupted?

1 Answers   Thomson Reuters,


How will you grow a disk space whitout disturbs

2 Answers  


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

4 Answers   Tech Mahindra,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)