Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2000 09:35:03 -0700 (MST)
From:      John Reynolds <jjreynold@home.com>
To:        questions@freebsd.org
Subject:   Re: how to tell the amount of SysV shared memory available?
Message-ID:  <14730.61623.920268.314783@whale.home-net>

next in thread | raw e-mail | index | archive | help

> Is there a way to tell how much SysV-ish shared memory can be allocated? One of
> the *stat commands?

I hate to followup to my own posting, but I've since found the answer from a
Linux buddy of mine and figured I would post it here for the astute reader and
for the archives.

ipcs is the command which will show all the things related to SysV IPC.

 % ipcs -M
 shminfo:
 	 shmmax: 8388609 (max shared memory segment size)
 	 shmmin:       1 (min shared memory segment size)
 	 shmmni:      96 (max number of shared memory identifiers)
 	 shmseg:      64 (max shared memory segments per process)
 	 shmall:    2048 (max amount of shared memory in pages)
 
-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jjreynold@home.com          FreeBSD 4.0-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14730.61623.920268.314783>