Operating System - HP-UX
1748119 Members
3373 Online
108758 Solutions
New Discussion юеВ

View kernel params from command line

 
SOLVED
Go to solution
Yahya Mohammad
New Member

View kernel params from command line

Is there a way to view kernel params from the command line as a regular user? I have HP-UX 11.31.

It seems kctune can do this, but I can't find it, what path is it usually installed in?
7 REPLIES 7
vishnu.khandare
Respected Contributor
Solution

Re: View kernel params from command line

Hi,

Yes by kctune u can view the kernel parameters on command line in path of /usr/sbin/kctune.

U can refer its man page for more details.

Hope this solves ur query
Dont forget to assign points.

Regards
Vishnu Khandare
You should deserve before U desire!!!!
likid0
Honored Contributor

Re: View kernel params from command line

yes,

/> whereis kctune
kctune: /usr/sbin/kctune /usr/share/man/man1m.Z/kctune.1m
Windows?, no thanks
muruganantham raju
Valued Contributor

Re: View kernel params from command line

# whence kctune
/usr/sbin/kctune

To list all the kernel parameters:

# kctune
Tunable Value Expression Changes
NSTREVENT 50 Default
NSTRPUSH 16 Default
NSTRSCHED 0 Default
STRCTLSZ 1024 Default
STRMSGSZ 0 Default
acctresume 4 Default
acctsuspend 2 Default
aio_listio_max 256 Default Immed
aio_max_ops 2048 Default Immed
aio_monitor_run_sec 30 Default Immed
aio_physmem_pct 10 Default
aio_prio_delta_max 20 Default Immed

To set value of a parameter
#kctune "Tunnable Parameter" = value


Chandrahasa s
Valued Contributor

Re: View kernel params from command line

Hi,

You can use #kctune

Chandra
Yahya Mohammad
New Member

Re: View kernel params from command line

Thanks everyone. /usr/sbin wasn't in my path, and I was looking around in /opt and other places instead of the obvious ones :)
Hakki Aydin Ucar
Honored Contributor

Re: View kernel params from command line

also you can use sysdef; (sysdef - display system definition)

/usr/sbin/sysdef

look man page of sysdef for more;

man sysdef


Dennis Handly
Acclaimed Contributor

Re: View kernel params from command line

>Hakki: also you can use sysdef

Except sysdef(1m) says: TO BE OBSOLETED