title: How to find Shared Memory Limits and Semaphore Limits in Solaris,HP-UX and AIX?
body: <p>I'm using the following commands to find Shared Memory Limits and Semaphore Limits in Linux.</p>
  
  <p>To find Shared Memory Limits I used this command:</p>
  
  <pre><code>ipcs -lm
  </code></pre>
  
  <p>and I got the following output:</p>
  
  <pre><code>------ Shared Memory Limits --------
  max number of segments = 4096
  max seg size (kbytes) = 4194303
  max total shared memory (kbytes) = 1073741824
  min seg size (bytes) = 1
  </code></pre>
  
  <p>To find Semaphore Limits I used this command:</p>
  
  <pre><code>ipcs -ls
  </code></pre>
  
  <p>and I got the following output:</p>
  
  <pre><code>------ Semaphore Limits --------
  max number of arrays = 128
  max semaphores per array = 250
  max semaphores system wide = 32000
  max ops per semop call = 32
  semaphore max value = 32767
  </code></pre>
  
  <p>I don't know how to get this output in Solaris,HP-UX and AIX. I have searched lot in internet but I couldn't get the fine solution. Share your ideas to get this thanks in advance.</p>