Operating System - HP-UX
1846218 Members
4968 Online
110255 Solutions
New Discussion

Kernel parameter modification time and value

 
SOLVED
Go to solution
Avinash20
Honored Contributor

Kernel parameter modification time and value

OS: 11.11
Is it possible to know the previous kernel parameters list
Is there a way to know the kernel parameter value set in /stand/vmunix.prev

Also are there any logs which says which kernel parameter were modified.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
8 REPLIES 8
Anka
Trusted Contributor
Solution

Re: Kernel parameter modification time and value

/var/adm/kc.log

and see the system.prev file
Anka
Trusted Contributor

Re: Kernel parameter modification time and value

Just made a mistake :) on 11.11 systems you will not find the kc.log file
Will try to find if there is an equivalense...
If someone knows please feel free to share :)
Avinash20
Honored Contributor

Re: Kernel parameter modification time and value

http://docs.hp.com/en/B3921-90010/kmtune.1M.html

-c text
Specify an optional comment string. All changes to the kernel parameters are logged with the date, old value, new value, user id and this comment. This option is used with -r and -s. The comment text will generally need to be quoted so that it is interpreted as a single parameter by the shell. The comment text may contain newlines. The log is written to the file /var/adm/kc.log. The format of the log file is subject to change in the future.

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Kernel parameter modification time and value

Anka.. You are right..
There is no /var/adm/kc.log in 11iv1

Gurus, please let me know how to check the
Logs of all tunable changes made using kmtune
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Steven E. Protter
Exalted Contributor

Re: Kernel parameter modification time and value

Shalom,

There is no kc.log in 11.11 because kctune is a feature added in 11.23.

kmtune probably provides logs of some type.

The date stamp on /stand/vmunix.prev is a pretty good indicator of WHEN the work was done.

There should be a backup of the system file in stand and you can do a simple diff command on that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Anka
Trusted Contributor

Re: Kernel parameter modification time and value

So i searched and discussed and the conclusion is that there is no equivalence of the /var/adm/kc.log for 11.11 systems

The /stand/system.prev can help in this situation
Jeeshan
Honored Contributor

Re: Kernel parameter modification time and value

You can check it through SAM log

Run '/usr/sam/bin/samlog_viewer' and see what parameters SAM ran.

Or you can 'view' /var/sam/log/samlog to search for yourself.
a warrior never quits
Avinash20
Honored Contributor

Re: Kernel parameter modification time and value

If /stand/system.prev exist, then we could compare the values with /stand/system

We can take help of /var/sam/log/samlog if kernel parameter modified with sam

cat /var/sam/log/samlog | grep /usr/sbin/kmtune
"Light travels faster than sound. That's why some people appear bright until you hear them speak."