Operating System - HP-UX
1833462 Members
2844 Online
110052 Solutions
New Discussion

Re: What commands show all kernal parameters and values?

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

What commands show all kernal parameters and values?

Hi,

Server: HP-UX 11.0 L2000

What command(s) list all kernal parameters and their values? (I known I can use SAM but I prefer to use the command line).

(10 points to any good answer).
Thank you Gino Castoldi
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: What commands show all kernal parameters and values?

Hi:

On 11.x, use 'kmtune':

# kmtune -l

Regards!

...JRF...
John Bolene
Honored Contributor

Re: What commands show all kernal parameters and values?

On 10.20 you can cat /stand/system to see stuff that is different from default.
It also shows all the device drivers that are included.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
A. Clay Stephenson
Acclaimed Contributor

Re: What commands show all kernal parameters and values?

kmtune or sysdef can be used.

Also:


echo '*system_data/s' | adb -k /stand/vmunix /dev/kmem


If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: What commands show all kernal parameters and values?

Hi Gino,

Use

kmtune -S /stand/system

Hope this helps.

Regds
Thierry Poels_1
Honored Contributor

Re: What commands show all kernal parameters and values?

Hi,

James already mentioned kmtune, so all I can add is the printout from within sam; which is still my favourite. Pitty there is no commandline version to get that output.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Deshpande Prashant
Honored Contributor

Re: What commands show all kernal parameters and values?

HI
If you have the SysInfo utility, you can use it to get kernel parameters.
#SysInfo -K

Thanks.
Prashant Deshpande.
Take it as it comes.
Mary Ann Lipa
Valued Contributor

Re: What commands show all kernal parameters and values?

you can use:
# /usr/sbin/sysdef
which will show you the name of the parameter [NAME], its current value[VALUE], its value at boot time [BOOT], the minimum/maximum value allowed [MIN/MAX] the unit by which the parameter is measured [UNITS] and flags which are descriptions of the parameter...

another one is
# /usr/sbin/kmtune

d_b
Which is worse, smoking or picking your nose in a public place?