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,300 points
1,971 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 permissions of a file in the Linux system?

Hi@akhtar, If you prefer using the command line, ...READ MORE

answered Aug 13 in Linux Administration by MD
• 78,990 points
148 views
0 votes
1 answer

How to check permissions of a folder in the Linux system?

Hi@akhtar, You can use ls command to check ...READ MORE

answered Aug 13 in Linux Administration by MD
• 78,990 points
133 views
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, 2019 in Linux Administration by Omkar
• 69,030 points
874 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 4 in Linux Administration by Prakash K. Aithal
910 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
221 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 11 in Database by Prachi
• 140 points
190 views
0 votes
1 answer

Access progrs prompt without switching accounts

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

answered Mar 22, 2019 in Database by Mahi
126 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, 2019 in Database by Danny
103 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
5,849 views