System Administration
Showing results for 
Search instead for 
Do you mean 

How to change the Semaphore value in HP-Unix

Regular Advisor

How to change the Semaphore value in HP-Unix

Hi All

 

I need to increase the following Semaphore   parameter in HP Unix Server, I am not sure how to do it

 

 

semaem

semmap

semmni

semmns

semmnu

semmsl

 

 

Please suggest me how to change it.

 

Regarrds

Indrajit Bhagat

 

10 REPLIES
Honored Contributor

Re: How to change the Semaphore value in HP-Unix

Without a given OS version I guess a current one, so you might want to check the manpage of 'kctune' otherwise you should use sam for it.

 

Be aware that there are dependencies from the parameters to other ones and automatically calculated values respectively.

Acclaimed Contributor Acclaimed Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

[ Edited ]

If you are on 11.23 or later, you can simply use kctune(1m) to change the values.

 

semaem semmni semmns semmnu semmsl need reboot.

semmap doesn't exist

 

Regular Advisor

Re: How to change the Semaphore value in HP-Unix

The OS version 11.11 hp unix

Acclaimed Contributor Acclaimed Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

>The OS version 11.11 HP-UX

 

Then you need to use kmtune(1m) and semmap exists.

Outstanding Contributor Outstanding Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

Or just use SAM.


Pete
Honored Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

Outstanding Contributor Outstanding Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

Stephan, I wasn't ignoring your prior recommendation (    as Dennis did ;^)    ), I was just emphasizing that SAM is a good tool for just this sort of thing.


Pete
Acclaimed Contributor Acclaimed Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)


Pete Randall wrote:

Stephan, I wasn't ignoring your prior recommendation (    as Dennis did ;^)    ), I was just emphasizing that SAM is a good tool for just this sort of thing.


Stephan: And I saw you enclose in tickmarks 'kctune' [just as I do] but not encapsulate the word "sam".   Hence, I too failed to see it until Pete upcased it to show the emphasis :-))
Regards to you both!
...JRF...
Acclaimed Contributor Acclaimed Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

[ Edited ]

>... as Dennis did ;^)

 

Hey, no fair, it took me that long to compose my answer and check each parm.  ;-)

Highlighted
Honored Contributor

Re: How to change the Semaphore value in HP-UX (kernel parms)

Kudos for all, just because you made me smile ;-)

 

Stephan