System Administration
Showing results for 
Search instead for 
Do you mean 

View kernel params from command line

SOLVED
Go to Solution
Occasional Visitor

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?
1 ACCEPTED SOLUTION
Respected Contributor Respected Contributor

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!!!!
7 REPLIES
Respected Contributor Respected Contributor

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

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 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


Valued Contributor Valued Contributor

Re: View kernel params from command line

Hi,

You can use #kctune

Chandra
Occasional Visitor

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 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


Highlighted
Acclaimed Contributor Acclaimed Contributor

Re: View kernel params from command line

>Hakki: also you can use sysdef

Except sysdef(1m) says: TO BE OBSOLETED