How do you view shared memory statistics?

Questions by hgaurh   answers by hgaurh

Showing Answers 1 - 15 of 15 Answers

sanhtosh

  • Mar 26th, 2007
 

vmstat

  Was this answer useful?  Yes

Guest

  • Mar 26th, 2007
 

You can also view shared memory segments using command :- ipcs

      -m     shared memory segments

       -q     message queues

       -s     semaphore arrays

       -a     all (this is the default)

       The output format may be specified as follows:

       -t     time

       -p     pid

       -c     creator

       -l     limits

       -u     summary


This will only work on linux.


On windows you can find mem command to find memory info :-


used and free memory in your system.

MEM [/PROGRAM | /DEBUG | /CLASSIFY]

  /PROGRAM or /P   Displays status of programs currently loaded in memory.
  /DEBUG or /D     Displays status of programs, internal drivers, and other
                   information.
  /CLASSIFY or /C  Classifies programs by memory usage. Lists the size of
                   programs, provides a summary of memory in use, and lists
                   largest memory block available.


  Was this answer useful?  Yes

Debasish Namata

  • Jul 4th, 2007
 

Allocated shared memory can be viewed by
/usr/sbin/sysdef | grep SHMMAX

  Was this answer useful?  Yes

M PRASAD

  • Sep 20th, 2011
 

ipcs -m

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions