Re: View kernel params from command line (3909 Views)
Reply
Occasional Visitor
Yahya Mohammad
Posts: 2
Registered: ‎10-18-2010
Message 1 of 8 (3,909 Views)
Accepted Solution

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?
Respected Contributor
vishnu.khandare
Posts: 194
Registered: ‎09-12-2010
Message 2 of 8 (3,909 Views)

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!!!!
Honored Contributor
likid0
Posts: 980
Registered: ‎03-01-2005
Message 3 of 8 (3,909 Views)

Re: View kernel params from command line

yes,

/> whereis kctune
kctune: /usr/sbin/kctune /usr/share/man/man1m.Z/kctune.1m
Windows?, no thanks
Valued Contributor
muruganantham raju
Posts: 149
Registered: ‎06-29-2010
Message 4 of 8 (3,909 Views)

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


Valued Contributor
Chandrahasa s
Posts: 219
Registered: ‎11-09-2009
Message 5 of 8 (3,909 Views)

Re: View kernel params from command line

Hi,

You can use #kctune

Chandra
Occasional Visitor
Yahya Mohammad
Posts: 2
Registered: ‎10-18-2010
Message 6 of 8 (3,909 Views)

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 :)
Honored Contributor
Hakki Aydin Ucar
Posts: 1,313
Registered: ‎08-16-2006
Message 7 of 8 (3,909 Views)

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


Acclaimed Contributor
Dennis Handly
Posts: 25,071
Registered: ‎03-06-2006
Message 8 of 8 (3,909 Views)

Re: View kernel params from command line

>Hakki: also you can use sysdef

Except sysdef(1m) says: TO BE OBSOLETED
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.