How do I verify the kernel parameters to check for the pre-requisities of Oracle 11 + versions?

0 votes
I want to know how to check the values of shmmax, shmni, shmall, shmmin, shmseg are set correctly or not. Because when I am installing oracle database it is asking me to verify these kernel parameters.
Oct 5, 2018 in Linux Administration by Neha
• 6,280 points
216 views

1 answer to this question.

0 votes

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
answered Oct 5, 2018 by Frankie
• 9,810 points

Related Questions In Linux Administration

0 votes
1 answer

How to check version of package installed by npm?

These commands are used to check the ...READ MORE

answered Feb 4 in Linux Administration by Omkar
• 67,380 points
83 views
0 votes
1 answer

how to loop through the content of a file using bash

One of the ways to do it ...READ MORE

answered Feb 15 in Linux Administration by ajs3033
• 7,280 points
73 views
0 votes
1 answer
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
103 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
80 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22 in Database by Nitesh
42 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22 in Database by Mahi
26 views
0 votes
1 answer

Create new role - postgresql on ubuntu

If you are logged in as the postgres account, ...READ MORE

answered Mar 22 in Database by Danny
43 views
0 votes
1 answer
0 votes
1 answer

How to increase Swap Memory in CentOS 7?

Follow the below steps and procedures: Prerequisites Must have ...READ MORE

answered Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
910 views