Re: How to change the Semaphore value in HP-UX (kernel parms) (6896 Views)
Reply
Regular Advisor
Posts: 320
Registered: ‎07-22-2006
Message 1 of 11 (6,943 Views)

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

 

Honored Contributor
Posts: 512
Registered: ‎10-31-2002
Message 2 of 11 (6,938 Views)

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
Posts: 25,753
Registered: ‎03-06-2006
Message 3 of 11 (6,936 Views)

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
Posts: 320
Registered: ‎07-22-2006
Message 4 of 11 (6,931 Views)

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

The OS version 11.11 hp unix

Acclaimed Contributor
Posts: 25,753
Registered: ‎03-06-2006
Message 5 of 11 (6,926 Views)

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
Posts: 16,207
Registered: ‎11-03-1996
Message 6 of 11 (6,921 Views)

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

Or just use SAM.


Pete
Honored Contributor
Posts: 512
Registered: ‎10-31-2002
Message 7 of 11 (6,916 Views)

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

Outstanding Contributor
Posts: 16,207
Registered: ‎11-03-1996
Message 8 of 11 (6,914 Views)

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
Posts: 21,184
Registered: ‎07-06-2000
Message 9 of 11 (6,908 Views)

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
Posts: 25,753
Registered: ‎03-06-2006
Message 10 of 11 (6,901 Views)

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.  ;-)

Honored Contributor
Posts: 512
Registered: ‎10-31-2002
Message 11 of 11 (6,896 Views)

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

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

 

Stephan

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.