Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to check what are the current kernel parameter settings Post 302436701 by newbie_01 on Tuesday 13th of July 2010 01:40:44 AM
Old 07-13-2010
How to check what are the current kernel parameter settings

Hi all,

I have four (4) different UNIX flavours and I want to know whether the following commands are correct with respect to wanting to check on what are my current kernel parameter settings.

I just want to clear the doubts hanging over my head whether the commands below are the right ones or not.

Any feedback will be very much appreciated. Thanks in advance.

BTW, I've found the following command via Google and just want to confirm if they are correct.

HP-UX = kctune
- seems right, I managed to run it alright and query the settings for max_thread_proc by running kctune -q max_thread_proc.

Solaris = check /etc/system ( ???? )
- can't find this file. The Solaris that am supporting is using a SUN cluster, does that mean the settings on another file. I have root access but I don't support the cluster, another vendor does but I need to know the kernel settings from time to time as I want to put it in a script as a historical record in case someone changes some settings.

Linux = check /etc/sysctl.conf
- seems correct, did a more of the file and it got some kernel settings, mostly memory settings

AIX = ???
- this is very confusing, a link that I found, how to set kernel parameter values in aix (3rd Response) - Toolbox for IT Groups, said I have to use lsattr -El sys0. I just want confirmation that this is right?
- Based on System Specific Parameters, this is the right command
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kernel parameter

Hi all How to change the system parameter (kernel Parameter) in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048 i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

kernel settings

Would someone please help explain what the following kernel settings indicate on HP 11.00. Thanks Kristian. Parameter Value maxuprc 10156 nfile 65430 semmni 45185 semmnu 20236 semmns 45315 shmmni 18264 (1 Reply)
Discussion started by: kristian
1 Replies

3. UNIX for Dummies Questions & Answers

kernel parameter

Hi all I am using HPUX 11.00 .its a HP9000 L class server with 1gb ram and dual processor 540Mhz. i want to know abt the two kernel parameter mentioned below 1)maxdsize 2)maxssize these two parameter has the default values and it has not been changed once. as some application on this... (1 Reply)
Discussion started by: Prafulla
1 Replies

4. UNIX for Dummies Questions & Answers

kernel parameter settings

Hello All, can someone clarify finally what are the kernel parameter settings for ORACLE9i on SOLARIS9 ? the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies

5. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

6. UNIX for Dummies Questions & Answers

kernel parameter in SOL

Hello everbody: I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found. Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies

7. HP-UX

Equivalent Kernel parameter in HP-UX

Hi, May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter. sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps". Thanks, Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies

8. UNIX for Dummies Questions & Answers

kernel parameter values

Hi All Need to find kernel parameter values of our UNIX box. /filesys1/tmp>uname -a HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license /filesys1/CDBLprodrun/tmp> Can anyone help me with the cmd to find kernel parameter values? Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies

9. HP-UX

nk thread kernel parameter

Hi. I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..??? plz answer soon (2 Replies)
Discussion started by: TC123
2 Replies

10. UNIX for Advanced & Expert Users

TCP Kernel Settings

I have solaris 9 system. I want to change the "tcp_conn_req_max_q" setting in /etc/system. whats the correct way, set ndd:tcp_conn_req_max_q=2048 or set tcp:tcp_conn_req_max_q=2048 thanks (1 Reply)
Discussion started by: chaandana
1 Replies
coreadm(2)							System Calls Manual							coreadm(2)

NAME
coreadm - application core file administration SYNOPSIS
DESCRIPTION
system call is used to specify the location and pattern for core files produced by abnormally terminating processes. See core(4). This system call can be used to specify a system wide location for core file placement and/or a process specific pattern. The structure, is used to specify a system wide or a per-process core file pattern and also specify the current system wide core file set- tings. is defined in the header Member Type Member Name Description char c_pattern The core file pattern. uint64_t c_flags Core file settings. Parameters is expected to be set to It is critical for future backward compatibility that the macro itself be used and not its value. is the core file pattern. A core file name pattern is a normal file system path name with embedded variables, specified with a leading character, that are expanded from values in effect when a core file is generated by the operating system. An expanded pattern length greater than will be truncated to The possible values are: c_flags is used to control the system wide core file settings. The flag values can be combination of Enable/Disable creation of global core files. Enable/Disable creation of per-process core files. Enable/Disable creation of global core files for processes. Enable/Disable creation of per-process core file for processes. If a flag value is not set, then the option is disabled. For per-process core file setting, c_flags can either be 0 or The former disables core file creation (for that process) and the latter enables it. c_pid Should be a (valid) pid of a target process or 0. If c_pid is zero, then the settings are applied to global core file settings. If c_pid is 1, then the settings are applied to init(1M). c_in If non-NULL, then the values will be used as new core file settings. If this is NULL, then the c_out parameter is expected to be non-NULL and system call is used to interrogate the current settings. c_out If non-NULL, the current settings are returned in this parameter. RETURN VALUE
Upon successful completion, returns 0. Otherwise, a value of -1 is returned and is set to indicate the error. ERRORS
fails and does not change the core file settings if the effective user-ID of the calling process is not a user having appropriate privileges. The input or output parameter passed to is an invalid address. The core file pattern or flags is invalid. The specified PID is non-zero and does not exist. EXAMPLES
1. Enable global core file creation using the pattern (core.process-ID.machine-name) in the location 2. Enable per-process core file pattern for the process-ID passed in as argument. The core file will be placed in The pattern is (core.process-ID.time-stamp). 3. Enable a per-process pattern of core.CUP-ID for all processes in the system (init(1M) core file setting). NOTE: This has to be run during system startup or reboot the machine after setting this for the settings to take full effect. SEE ALSO
coreadm(1M), exec(2), fork(2), pstat(2), ttrace(2), core(4). STANDARDS CONFORMANCE
coreadm(2)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy