Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
sqs — — source: Informix-list mailing list archive (1991-1998)
hi,all
could you tell me how to caculate resident shared memory size?
thank you.
↪ replying to sqs
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
sqs wrote:
>
> hi,all
> could you tell me how to caculate resident shared memory size?
Mark Stock is correct about onmonitor if the engine is online. You can
also use onstat -g seg and check the size of the class 'R' segment
which is the resident segment. In addition the UNIX command ipcs will
report the various segment sizes (SEGSZ column) the engine is using:
ipcs -ma | head -3; ipcs -ma | fgrep informix
The resident segment is the first segment defined for the server in
question, the one whose key ends in 4801. If you have multiple servers
the first four digits of the key indicate the SERVERNUM of the server
to which the segments belong (0x5256 + hex(SERVERNUM)). Also note that
a few versions of some UNIX systems will not report all segments owned
by group informix but user root if you run ipcs as informix. So if you
start your engine as root you may have to run ipcs as root.
If you are trying to determine the resulting resident size of various
ONCONFIG parameter settings before bringing an engine online there is
a calculation in the Informix Administrator's Guide you can use. The
manual section also explains which ONCONFIG parameters affect the size
of the resident segment.
Art S. Kagel
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.