1838646 Members
2545 Online
110128 Solutions
New Discussion

list kernel parameters

 
Huyen Nguyen
Occasional Contributor

list kernel parameters

How do you list kernel parameters on the command line and not have to go through SAM?

(i.e. save the list of kernel parameters into a file?)

Thanks
10 REPLIES 10
Victor BERRIDGE
Honored Contributor

Re: list kernel parameters

Hi
Use sysdef...

All the best
Victor
Carsten Krege
Honored Contributor

Re: list kernel parameters

Use kmtune(1m) or sysdef(1m).

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Magdi KAMAL
Respected Contributor

Re: list kernel parameters

Hi Huyen,

File /var/sam/boot.config

Each section is for one parameter within the kernel. Each entry in a section describe that parameter.

You may consider entries :

KC_PARAM_NAME= -> Paramater name
KC_PARAM_STATUS= -> Actual value
KC_PARAM_DEFAULT= -> hp-ux default value just after installation.
KC_PARAM_CLASS= -> Which class the parameter is depending on (filesystem, ...).
KC_PARAM_DESC= -> Text explaining the parameter.


Magdi.

Sanjay_6
Honored Contributor

Re: list kernel parameters

Hi,

Use kmtune -l
or
kmtune -S /stand/system

This should help

Thanks
Sanjay
Deshpande Prashant
Honored Contributor

Re: list kernel parameters

HI
Commands sysdef or kmtune -l will give you details.
Also if you have sysinfo installed on your machine, it will give you all system information including kernel parameters.

Thanks.
Prashant Deshpande.
Take it as it comes.
MANOJ SRIVASTAVA
Honored Contributor

Re: list kernel parameters

Hi

Try

sysdef

kmtune


Manoj Srivastava
Michael Tully
Honored Contributor

Re: list kernel parameters

Hi,

'kmtune' and 'sysdef' work well on HP-UX 11, but 'kmtune' doesn't exist on on HP-UX 10.20

Regards
-Michael
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: list kernel parameters

Lemme add one more

/usr/lbin/sysadm/system_prep -s /tmp/system

/tmp/system file will have the current and non-default kernel parameters

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Tully
Honored Contributor

Re: list kernel parameters


/usr/lbin/sysadm/system_prep -s does not show
all the kernel settings at all. What it does
show are the drivers that are currently loaded
in the kernel and system parameters that have been changed from the default. On HP-UX 11 the output of kmtune -l shows both the default and current values of the configureable parameters.

Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: list kernel parameters

Certainly True!! Kmtune is da king.

I only added one more command that touches kernel parameters in addition to kmtune, sysdef (again doesn't show all parameters).
You may be disappointed if you fail, but you are doomed if you don't try