The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling 32 bit app on 64 bit kernal morrisey AIX 3 03-19-2008 03:37 PM
How does the Kernal schedules Tasks? compbug UNIX for Dummies Questions & Answers 4 04-12-2006 10:11 AM
Kernal Panic jcoleman544 UNIX for Dummies Questions & Answers 3 06-09-2003 07:50 AM
kernal parameters on Linux 7.3 lapnguyen Filesystems, Disks and Memory 2 08-14-2002 08:18 AM
kernal log message reddyb UNIX for Advanced & Expert Users 1 10-29-2001 11:09 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-13-2007
Registered User
 

Join Date: Feb 2007
Posts: 25
Kernal Information

Hi friends,
i would like to know the kernal information (semaphores), which command do i use

Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 02-13-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Which OS? (post output of uname -a)

For example, under Linux you can use

ipcs -s

Cheers
ZB
Reply With Quote
  #3  
Old 02-13-2007
Registered User
 

Join Date: Feb 2007
Posts: 25
SunOS

hi zazzybob,
i'm using Solaris, i need to know the kernal configuration for oracle database.
thanks
Reply With Quote
  #4  
Old 02-13-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Use sysdef to see current limits, e.g.
Code:
 /usr/sbin/sysdef | grep '(SEM'
   100  semaphore identifiers (SEMMNI)
  1760  semaphores in system (SEMMNS)
    30  undo structures in system (SEMMNU)
   610  max semaphores per id (SEMMSL)
    10  max operations per semop call (SEMOPM)
    10  max undo entries per process (SEMUME)
 32767  semaphore maximum value (SEMVMX)
 16384  adjust on exit max value (SEMAEM)
then modify /etc/system (and reboot) to set your limits as per the Oracle installation documentation, for example:
Code:
* ----------------------------------------
*  Oracle Shared Memory Settings
* ----------------------------------------
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10

* ----------------------------------------
*  Oracle Semaphores Settings
* ----------------------------------------
set semsys:seminfo_semmns=1760
set semsys:seminfo_semmsl=610
set semsys:seminfo_semmni=100

* ----------------------------------------
* END ORACLE Settings
* ----------------------------------------
Cheers
ZB
Reply With Quote
  #5  
Old 02-15-2007
Registered User
 

Join Date: Oct 2004
Posts: 235
Hi ZazzyBob ..


Thats works for HP as well thanks for the information ...

Great ....


Thanks,
Arun.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0