10-28-2008
Adding new kernel parameters
Hi,
I'm new to HP-UX. i'm working on HP-UX 11.31 ia64 for testing our product
i could able to change the kernel parameter values and i need to add the following parameters to the parameters list
semmap = 258
nfile = 2048
msgseg = 7168
msgssz = 32
maxusers = 60
msgmap = 258
msgmax = 32768
msgmnb = 65535
can any one help me in thisregard or any document related to this.
Thanks in Advance,
jo09
10 More Discussions You Might Find Interesting
1. HP-UX
I want to change some kernel parameters in HP-UX11, to do with Oracle upgrade/install.
I know this is done using SAM. I am told SAM will not let you enter values outside the allowable range. Could anyone tell me if they have experienced anything different?
In Solaris, I would copy the... (2 Replies)
Discussion started by: malcqv
2 Replies
2. HP-UX
Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters:
nfile
maxfile
maxfile_lim
I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Discussion started by: impunchdrunk
3 Replies
3. UNIX for Advanced & Expert Users
Can only root do this, or can other users too? if other users can, do they have to be given permission, and if so, is there a file or something that stores this?
Thanks. (4 Replies)
Discussion started by: JamesByars
4 Replies
4. HP-UX
I've been trying to find out the following parameters of our Unix box:
==>OS version
==> patch level
and the following kernel parameters
=>maxfiles_lim
=>maxvgs
=>nproc
=>msgmni
=>ncsize
=>nfile
Could someone help me how would I find the above(commands)?
Thanks,
Bhagat (1 Reply)
Discussion started by: bhagat.singh-j
1 Replies
5. Solaris
Hello,
Can anyone point me out as to how to set the following parameters in Solaris Kernel: set semsys:seminfo_semmni=16384, set semsys:seminfo_semmns=32768,set semsys:seminfo_semmsl=1024,
set semsys:seminfo_semmnu=16384,set semsys:seminfo_semume=1024,
set shmsys:shminfo_shmmax=4294967295,set... (8 Replies)
Discussion started by: AQG
8 Replies
6. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
7. Linux
Hi,
if I install a module with specific parameter, will this parameters applied next time system boots?
for exampe, I want to disable InterruptThrottleRate
modprobe e1000e InterruptThrottleRate=0
Is this parameter apllied only for this run, or this module will always use this parameter when... (2 Replies)
Discussion started by: Shedon
2 Replies
8. Solaris
Dear All,
I want to check whether all essential kernel parameters are installed in my Solaris 10 System. Is there any way to find it.
And also how to tune it.
Kindly help.
Thanks and Regards
Rj (8 Replies)
Discussion started by: jegaraman
8 Replies
9. Solaris
Dear All,
I have weblogic Portal Installed in the Server solaris 10.
How can i verify whether all the kernel parameters are available for this Software and also another question is
How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters.
... (2 Replies)
Discussion started by: jegaraman
2 Replies
10. UNIX for Dummies Questions & Answers
Virtual Machine running on VMWare workstation 9.2
os : RHEL 5.8
RAM : 2.5GB
Swap : 2.6gb
CPU : 1 virtual CPU
Surprizingly I couldn't find much from googling on What exactly does Kernel parameters do ?
I was under the impression that kernel parameters just set the limits/maximum for a... (2 Replies)
Discussion started by: John K
2 Replies
LEARN ABOUT OPENSOLARIS
mlib_imagecolorrgb2hsl
mlib_ImageColorRGB2HSL(3MLIB) mediaLib Library Functions mlib_ImageColorRGB2HSL(3MLIB)
NAME
mlib_ImageColorRGB2HSL - RGB to HSL color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageColorRGB2HSL(mlib_image *dst, const mlib_image *src);
DESCRIPTION
The mlib_ImageColorRGB2HSL() function performs a conversion from red/green/blue to hue/saturation/lightness. The source and destination
images must be three-channel images.
It uses the following equations:
V = max(R, G, B)
Vmin = min(R, G, B)
L = (V + Vmin)/2
S = (V - Vmin)/(V + Vmin) if L <= 1/2
S = (V - Vmin)/(2 - V - Vmin) if L > 1/2
H = (5.0 + (V - B)/(V - Vmin))/6 if R = V and G = Vmin
H = (1.0 - (V - G)/(V - Vmin))/6 if R = V and B = Vmin
H = (1.0 + (V - R)/(V - Vmin))/6 if G = V and B = Vmin
H = (3.0 - (V - B)/(V - Vmin))/6 if G = V and R = Vmin
H = (3.0 + (V - G)/(V - Vmin))/6 if B = V and R = Vmin
H = (5.0 - (V - R)/(V - Vmin))/6 if B = V and G = Vmin
H = 0.0 if R = G = B
where 0 <= R, G, B, V, Vmin, L, S <= 1 and 0 <= H < 1.
Assuming a pixel in the source image is (r, g, b) and its corresponding pixel in the destination image is (h, s, l), then for MLIB_BYTE
images, the following applies:
R = r/255
G = g/255
B = b/255
h = H*256
s = S*255
l = L*255
for MLIB_SHORT images, the following applies:
R = (r + 32768)/65535
G = (g + 32768)/65535
B = (b + 32768)/65535
h = H*65536 - 32768
s = S*65535 - 32768
l = L*65535 - 32768
for MLIB_USHORT images, the following applies:
R = r/65535
G = g/65535
B = b/65535
h = H*65536
s = S*65535
l = L*65535
and for MLIB_INT images, the following applies:
R = (r + 2147483648)/4294967295
G = (g + 2147483648)/4294967295
B = (b + 2147483648)/4294967295
h = H*4294967296 - 2147483648
s = S*4294967295 - 2147483648
l = L*4294967295 - 2147483648
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_ImageColorHSL2RGB(3MLIB), mlib_ImageColorHSL2RGB_Fp(3MLIB), mlib_ImageColorRGB2HSL_Fp(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageColorRGB2HSL(3MLIB)