1835346 Members
2638 Online
110078 Solutions
New Discussion

shared memory question

 
rammu
Occasional Contributor

shared memory question

Hi anyone,
Plz let me know the commands which 'll give me the following informations

---Shared memory limits----:
max number of segments ?
max seg size (kbytes) ?
max total shared memory (kbytes) ?
min seg size (bytes)?
----- Semaphore Limits --------
max number of arrays ?
max semaphores per array ?
max semaphores system wide ?
max ops per semop call ?
semaphore max value ?
Plz.. thanks in advance
Rammu
3 REPLIES 3
Ludovic Derlyn
Esteemed Contributor

Re: shared memory question

hi,

kmtune -q "argument" or kctune "argument"if you are in hpux 11iv2


To see all parameters, try print_manifest

Regards

L-DERLYN
H.Merijn Brand (procura
Honored Contributor

Re: shared memory question

Install the attached kmtune.pl somewhere in your $PATH, and it'll allow you to do

a5:/u/usr/merijn 101 > kmtune.pl ^max
Parameter Value hex Value dec Function Default
-------------------- ------------ ----------- --------------------------- --------------------
max_async_ports 0x0000000032 50 50
max_fcp_reqs 0x0000000200 512 512
max_mem_window 0x0000000000 0 0
max_thread_proc 0x0000000040 64 64
maxdsiz 0x0010000000 268435456 0x10000000 0x04000000
maxdsiz_64bit 0x0040000000 1073741824 0x0000000040000000
maxfiles 0x000000003c 60 60
maxfiles_lim 0x0000000400 1024 1024
maxqueuetime 0x0000000000 0 0
maxssiz 0x0000800000 8388608 0x00800000
maxssiz_64bit 0x0000800000 8388608 0x00800000
maxswapchunks 0x0000000800 2048 2048 256
maxtsiz 0x0004000000 67108864 0x04000000
maxtsiz_64bit 0x0040000000 1073741824 0x0000000040000000
maxuprc 0x000000004b 75 75
maxusers 0x0000000200 512 512 32
maxvgs 0x000000000a 10 10
a5:/u/usr/merijn 102 >

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
rammu
Occasional Contributor

Re: shared memory question

Thanks a lot gents.. it really helped me a lot
Rammu