Operating System - HP-UX
1850935 Members
2727 Online
104056 Solutions
New Discussion

List Kernel Parameters Command - Need to Post to A File

 
SOLVED
Go to solution
Laurie A. Krumrey
Regular Advisor

List Kernel Parameters Command - Need to Post to A File

Hi All,

My DBA's want an file, like an Excel file out
there for them to look at for each one of my
servers that lists the current kernel parameters.

I know how to do this in SAM, what command
do I use to list this? I guess I would send
this to a file and FTP it to Excel.

Laurie
Happiness is a choice
7 REPLIES 7
Roger Baptiste
Honored Contributor
Solution

Re: List Kernel Parameters Command - Need to Post to A File

hi,

Pick your choice from

#cat /stand/system

#kmtune -l >/tmp/kernel_parm


-raj
Take it easy.
Sanjay_6
Honored Contributor

Re: List Kernel Parameters Command - Need to Post to A File

Hi Laurie,

For ux 11.0, use

kmtune -S /stand/system

Note: S is in capital

hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: List Kernel Parameters Command - Need to Post to A File

Hi Laurie:

On 10.20:

# sysdef

On 11.x:

# kmtune -l

Regards!

...JRF...
Joseph C. Denman
Honored Contributor

Re: List Kernel Parameters Command - Need to Post to A File

Try...

sysdef

...jcd...
If I had only read the instructions first??
Sanjay_6
Honored Contributor

Re: List Kernel Parameters Command - Need to Post to A File

Hi Laurie,

For Hp-UX 10.20 there is no single command that can list all the kernel parameters. Try this for ux 10.20,

1.) # sysdef >/tmp/kern_para_1 2.) # /usr/lbin/sysadm/system_prep -s /tmp/kern_para_2
3.) # adb -k -w /stand/system /dev/kmem > /tmp/kern_para_3
$e
$q

Use all three commands. You will have to sort the final output.

Hope this helps.

Regds
Craig Rants
Honored Contributor

Re: List Kernel Parameters Command - Need to Post to A File

HP told us that kmtune is more accurate than sysdef. From our experience I agree.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Michael Tully
Honored Contributor

Re: List Kernel Parameters Command - Need to Post to A File

Hi,

How about these files as well

/usr/conf/master.d/core-hpux
/var/sam/boot.config

-Michael
Anyone for a Mutiny ?