Operating System - HP-UX
1833378 Members
3681 Online
110052 Solutions
New Discussion

which command can I use to query kernel parameters

 
hongjing_zhang
Trusted Contributor

which command can I use to query kernel parameters

which command can I use to query kernel parameters
6 REPLIES 6
john korterman
Honored Contributor

Re: which command can I use to query kernel parameters

Hi,


# /usr/sbin/sysdef


regards,
John K.
it would be nice if you always got a second chance
Robert-Jan Goossens
Honored Contributor

Re: which command can I use to query kernel parameters

Hi,

# kmtune -l

Hope it helps,

Robert-Jan
Naveej.K.A
Honored Contributor

Re: which command can I use to query kernel parameters

u can get the configured information from /stand/system file..
not aware of any commands to query the kernel for its tunable parameters
practice makes a man perfect!!!
Rajeev  Shukla
Honored Contributor

Re: which command can I use to query kernel parameters

sysdef will not give you all the tunable kernel parameters, best is kmtune with either "-l" option or witout it.
Have a look at man pages of kmtune for more details.

Cheers
Rajeev
twang
Honored Contributor

Re: which command can I use to query kernel parameters

To list kernel parameters:
- SAM --> Kernel Configuration --> Configurable parameters -->
- to show
# /usr/lbin/sysadm/system_prep -s /tmp/system
- # kmtune -l
or
# kmtune -S /stand/system
or
# sysdef
Note:
kmtune and sysdef work well on hpux 11, but 'kmtune' doesn't exist on on 10.20
/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.
aparna challagulla
Valued Contributor

Re: which command can I use to query kernel parameters

hi zhang,

/usr/sbin/kmtune -l

/usr/sbin/kmtune -q name - to query a kernel parameter

/usr/sbin/sysdef - shows the currently running kernel's tunable parameters.

HTH
aparna
If you don't have time to do it right you must have time to do it over