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 = ???

Check here
AIX: split between vmo/ioo/schedo
Linux: just run

sysctl -a

as root to get all parameters and their values
HP-UX: run

kctune -g

for all parameters

2 Likes

Hi pludi,

Ooops ... you did it again ... :o Thanks a ton for the link ...