1833748 Members
2770 Online
110063 Solutions
New Discussion

Kernal log files

 
SOLVED
Go to solution
Eddy R.
Advisor

Kernal log files

hi all,

is there any log files where the kernal's changes are stored and saved?
regards.
3 REPLIES 3
RAC_1
Honored Contributor

Re: Kernal log files

Which OS version??

On 11i, it is /stand/system. You should back it up when kernel is recompiled.

on 11i, v2 (aka 11.23)

/stand/current, /stand/backup, and whatever you define it as.
There is no substitute to HARDWORK
Rajesh SB
Esteemed Contributor
Solution

Re: Kernal log files

Hi,

We can view the modified kernel parameters from default value using command

# kmtune -l

/stand/system shows the current kernel system parameters.
By looking into /var/sam/log/samlog, kernel rebuild related info can be tracked.

Regards,
Rajesh

Raj D.
Honored Contributor

Re: Kernal log files

Hi Eddy ,

Its /stand/system where kernel parameters are stored.

And it stores in this way:

* Tunable parameters

STRMSGSZ 65535
bufpages 51200
create_fastlinks 1
dbc_max_pct 20
default_disk_ir 1
max_thread_proc 256
maxdsiz 0X3C600000
maxfiles 200
maxfiles_lim 2048
...
---------------------------

1.To view a kernel parameter you can do :
# kmtune -q maxfiles
Parameter Value
===============================================================================
maxfiles 200


2. To set a value ,
# kmtune -s maxfiles=500

And make the changes effective , then need to rebuild kernel with ./mk_kernel and ./kmupdate and reboot the system with shutdown -r -y 0

Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "