Please check the below-mentioned syntax and commands:
To see all kernel parameters, execute these below commands in your root directory by changing to -
su - root
& then execute:
sysctl -a
Next,
To verify shmmax, execute:
cat /proc/sys/kernel/shmmax
shmmax = 2147483648
To verify shmmni, execute:
cat /proc/sys/kernel/shmmni
shmmni = 4096
To verify the shmall parameter, execute the command below. shmall is used in 10g R1.
cat /proc/sys/kernel/shmall
shmall = 2097152
To verify shmmin, execute:
ipcs -lm |grep "min seg size"
shmmin = 1
Note that shmseg is hardcoded in the kernel, the default is much higher.
shmseg = 10