Wednesday, September 30, 2015

MEMORY MANAGEMENT - 3

MEMORY MANAGEMENT INTERVIEW QUESTIONS AND ANSWERS
                                                
                                              PAGE - 3


21..How to  check  the current shared memory pages on the system?

# ipcs –m

22..Where the kernel   load in to  the system to run  linux?

memory

23..How to see the memory usage in percentage?

#  free | sed -n ‘2p’ | gawk ‘x = ($3 /$2) {print x}’

24..How to  find out all the process of the system along with their process states?

ps -al

25..How to find the current virtual memory status on your system?

#  cat /proc/meminfo

26..Explain about Environment Variables?

The bash shell uses a feature called environment variables to store information
about the shell session and the working environment . This feature also allows you to store data in memory  that can be easily accessed by any program or script running from the shell.

27..How to check the extract CPU and memory information about your system?
#  uptime

28..How to extracting  system memory information?

#  vmstat

No comments: