1752579 Members
3996 Online
108788 Solutions
New Discussion юеВ

Re: Kernel

 
SOLVED
Go to solution
Paula J Frazer-Campbell
Honored Contributor

Kernel

Hi
How can I list my kernel params without going into sam.

Thanks in advance.

Paula
If you can spell SysAdmin then you is one - anon
12 REPLIES 12
Dan Hetzel
Honored Contributor

Re: Kernel

Hi Paula,

Do you mean all params?
Not only the ones listed in /stand/system ?

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Rita C Workman
Honored Contributor

Re: Kernel

I'm sure others know commands (..I don't think I'll ever learn enough of them..)
sysdef is handy, but that's not going to cut it here.
So I will tell you what I have a habit of doing..
When I config/reconfig a kernel I have a habit of saving the this to a file...that way whenever I want to check it out later or print it out...I can.
It's just a habit I have...just a thought you might like,

/rcw
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel

Hi Dan

Yes I was after all the params currently in the kernel.

/stand/system just lists changes from default (I believe).

Paula
If you can spell SysAdmin then you is one - anon
Cheryl Griffin
Honored Contributor

Re: Kernel

Paula,
the sysdef command will show you kernel params. there's talk of it being obsoleted though. it does not always agree with what you can see through SAM.

the /stand/system file will show you only what is tuned. if a parameter is not listed there, it means that it is running at the default value.
"Downtime is a Crime."
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel

Hi Cheryl

I can live with that if I could extract the default params.

Paula
If you can spell SysAdmin then you is one - anon
Dan Hetzel
Honored Contributor

Re: Kernel

Hi Paula,

sysdef lists most of them but some don't agree with the values reported by sam.
I don't know if this is a 'bug' or if it as already been documented (or patched) somewhere.

Best regards,

Dan

PS: You're right, /stand/system only lists the non-default parameters.
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
James R. Ferguson
Acclaimed Contributor

Re: Kernel

Hi Paula:

I use a combination of SAM, /stand/system and 'sysdef'.

As noted, /stand/system doesn't show arameters with defaults, so I usually resort to SAM for viewing these. I alsways keep a hardcopy of /stand/system in my book of hardcopy system configurations.

I wan't aware of the potential for 'sysdef' to vanish -- too bad, it's handy.

The nicest advantages of using SAM is that you can toggle a modification of an individual parameter and see the formula used to compute it from other parameters ('nfile' is a good example). Obviously, another nice feature with SAM is that you have its builtin help for each parameter.

As usual, it's nice to have several tools in the bag. Regards, Jim.

...JRF...

Rainer_1
Honored Contributor
Solution

Re: Kernel

I had a look at SAM log (11.00) and found there

kmtune -l

that lists the kernel parameters.

See 'man kmtune'
Cheryl Griffin
Honored Contributor

Re: Kernel

Paula,
on a 10.x machine look for defaults here:
/usr/conf/master.d/core-hpux
"Downtime is a Crime."