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
kdump-config(8) 					Linux System Administrator's Manual					   kdump-config(8)

NAME
kdump-config - configure kdump, check status, or save a vmcore file SYNOPSIS
kdump-config { help | test | show | status | load | unload | savecore } DESCRIPTION
kdump-config manages the kdump feature of the Linux kernel. When a kdump enabled kernel panics, it immediately boots into a clean kernel called the kdump kernel. The memory image of the panicked kernel will be presented in /proc/vmcore while the kdump kernel (or "capture kernel") is running. kdump-config loads the kdump kernel into the current kernel and after a kdump, captures the vmcore image via kdump kernel. kdump-config can take advantage of the linux-image-$(uname -r)-dbg package and will try to use makedumpfile to capture the vmcore. The crash tool can then be used to analyze the vmcore at a later time. kdump-config exits with 0 on success and 1 on failure. COMMANDS
help Print a usage summary. test Determine the parameters that would be used to load the kdump kernel, but do not load the kdump kernel. Useful for evaluating your configuration settings. show Show current parameters and the saved kexec command from the last kdump-config load. status Evaluate /sys/kernel/kexec_crash_loaded and print a corresponding message. load Load the kdump kernel. unload Unload the kdump kernel. savecore If /proc/vmcore exists, save it using makedumpfile. FILES
/etc/init.d/kdump-tools init script to automatically load a kdump kernel, or save a vmcore and reboot. /etc/default/kdump-tools configuration file /var/crash/kernel_link a link to the current debug kernel /var/crash/kexec_cmd the last kexec_cmd executed by kdump-config DIAGNOSTICS
USE_KDUMP is not set or zero The variable USE_KDUMP in the file /etc/default/kdump-tools is 0. To use kdump, edit the file and change the value to 1. kdump is not supported by this kernel The file /sys/kernel/kexec_crash_loaded does not exist. This means that the currently running kernel either was not configured to support kdump, or that a crashkernel= commandline parameter was not used when the currently running kernel booted. no crashkernel= parameter in the kernel cmdline a crashkernel= commandline parameter was not used when the currently running kernel booted. You will need to add a crashkernel= parameter to your /etc/lilo.conf, /etc/elilo.conf or grub /boot/grub/menu.lst file and reboot, before kdump will work. See installed READMEs for suggestions. could not find an installed debug vmlinux image and DEBUG_KERNEL is not specified in /etc/default/kdump-tools Warning: makedumpfile will be limited to -d 1. A debug version of the currently booted kernel could not be found. KDUMP_KERNEL does not exist: $KDUMP_KERNEL A KDUMP_KERNEL was specified in /etc/default/kdump-tools, but it cannot be found. KDUMP_INITRD does not exist: $KDUMP_INITRD A KDUMP_INITRD was specified in /etc/default/kdump-tools, but it cannot be found. no KDUMP_KERNEL in $KDUMP_DEFAULTS and can't find a kdump package directory in /usr/lib no kdump kernel could be found. found a linux-kdump package in $KDUMP_PKG_DIR but can't find a kdump kernel in $KDUMP_PKG_DIR this indicates a broken linux-kdump package installation. no kdump initrd image: $KDUMP_INITRD an initrd will not be used this indicates that although a kdump kernel was found, a corresponding initrd was not found. kdump kernel relocation address does not match crashkernel= parameter For non-relocatable architectures, the kdump kernel must be built with a predetermined start address. This message indicates that the start address of the kdump kernel and the start address in the crashkernel= parameter do not match. failed to load kdump kernel kexec reported that it could not load the kdump kernel. failed to unload kdump kernel kexec reported that it could not unload the kdump kernel. Run 'kexec -u' directly for more detail. makedumpfile failed, falling back to 'cp' this message is printed if the kdump-tools init script attempts to save a /proc/vmcore file using makedumpfile and the save fails. failed to save vmcore in $KDUMP_STAMPDIR this message indicates that makedumpfile and the fallback method of using cp has failed. This usually occurs if pathnames are wrong or if the disk is full. SEE ALSO
/usr/share/doc/kdump-tools/README /usr/share/doc/kdump-tools/README.Debian kdump-tools(5), kexec(8), crash(8), gdb(1), makedumpfile(8) AUTHOR
Terry Loftin <terry.loftin@hp.com> kdump-tools v1.1.3 April 2007 kdump-config(8)
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy