1753844 Members
7483 Online
108806 Solutions
New Discussion юеВ

Re: kernal tubales

 
pedliz12
Advisor

kernal tubales

how do you get a report on a unix tunables with dat and time stamps?
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: kernal tubales

If the question is when was each tunable changed and what was the value before and after --- then you don't unless you've written it yourself. Discliplined SA's will do a kmtune (or kctune) (or sysdef in the old days) that also contains a timestamp line before each tuning session. You then can track the changes. Basically, unless you have compiled the data yourself, it's too late.
If it ain't broke, I can fix that.
Dennis Handly
Acclaimed Contributor

Re: kernal tubales

Timestamps of when you did the report? Just redirect date(1) to your file:
date > report.txt
kctune >> report.txt

You can get the current tunables with kctune(1m) (11.23 and on) or kmtune (11.11).
James R. Ferguson
Acclaimed Contributor

Re: kernal tubales

Hi:

If you are running 11.23 or later, have a look at your '/var/adm/kc.log' along with the manpages for 'kclog(1M)'.

Regards!

...JRF...
Olivier Masse
Honored Contributor

Re: kernal tubales

How about running kcusage (11.23 and up) to get the usage of your system tables. kcusage -h gives you hourly reports, but other formats are available, check the man page.
whiteknight
Honored Contributor

Re: kernal tubales

kclog is the administrative command for the HP-UX kernel configuration log
file. The log file is automatically maintained by all of the kernel
configuration commands (kconfig(1M), kcmodule(1M), and kctune(1M)).

To see the last three entries in the log:
$ kclog 3

To see the last entry for the tunable nproc:
$ kclog -t tunable -n nproc

WK
Problem never ends, you must know how to fix it
Jollyjet
Valued Contributor

Re: kernal tubales

/opt/ignite/bin/print_manfiest will show u the modified kernel parameters.