<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Kernel values report in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729119#M64952</link>
    <description>Try sysdef&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
    <pubDate>Wed, 22 May 2002 12:47:19 GMT</pubDate>
    <dc:creator>Bill McNAMARA_1</dc:creator>
    <dc:date>2002-05-22T12:47:19Z</dc:date>
    <item>
      <title>Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729116#M64949</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to do a report (text file or else) for all the kernel parameters of my computer. I know that with SAM it's possible for the values but I would prefer the formula used.&lt;BR /&gt;For instance, nfile=2*nproc...&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Laurent MENEGUZY</description>
      <pubDate>Wed, 22 May 2002 12:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729116#M64949</guid>
      <dc:creator>Lorenzo Meneguzzi</dc:creator>
      <dc:date>2002-05-22T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729117#M64950</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try,&lt;BR /&gt;&lt;BR /&gt;kmtune -S /stand/system &amp;gt;/tmp/kernel_para.txt&lt;BR /&gt;&lt;BR /&gt;more /tmp/kernel_para.txt&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 12:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729117#M64950</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-05-22T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729118#M64951</link>
      <description>Very good product to see everything about your systems.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 12:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729118#M64951</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2002-05-22T12:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729119#M64952</link>
      <description>Try sysdef&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 22 May 2002 12:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729119#M64952</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-05-22T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729120#M64953</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try sysdef &amp;gt; /tmp/filename&lt;BR /&gt;&lt;BR /&gt;View the /tmp/filename and you can get all the tunable parameters along with the formulas.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Wed, 22 May 2002 12:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729120#M64953</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-05-22T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729121#M64954</link>
      <description>Hi Laurent:&lt;BR /&gt;&lt;BR /&gt;If you are running 11.x, use 'kmtune' to query you kernel parameter values.  On 10.20, use the deprecated 'sysdef'.&lt;BR /&gt;&lt;BR /&gt;To see the actual limits and formulae used with the various parameters look at :&lt;BR /&gt;&lt;BR /&gt;# /usr/conf/master.d/core-hpux&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 22 May 2002 12:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729121#M64954</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-22T12:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729122#M64955</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try this if u are using 11.00&lt;BR /&gt;kmtune -l &amp;gt; /tmp/kmtune.lst&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;ravi&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2002 13:06:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729122#M64955</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-05-22T13:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729123#M64956</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;sysdef will give you the sum of the formulae but not the formulea itself you need to do as JFR said &lt;BR /&gt;&lt;BR /&gt;# /usr/conf/master.d/core-hpux&lt;BR /&gt;&lt;BR /&gt;you can then cross reference this to the output of sysdef to get both formulea and present set values.&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Wed, 22 May 2002 13:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729123#M64956</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-05-22T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729124#M64957</link>
      <description>kmtune works fine on my system (11.0)and reports the formula.&lt;BR /&gt;sysdef reports only some values (I don't why).&lt;BR /&gt;&lt;BR /&gt;Thanks everybody !</description>
      <pubDate>Wed, 22 May 2002 13:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729124#M64957</guid>
      <dc:creator>Lorenzo Meneguzzi</dc:creator>
      <dc:date>2002-05-22T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729125#M64958</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Do *not* rely on 'sysdef' if you are running on 11.x.  'kmtune' is accurate and is intended as its replacement.  'kmtune' is not available prior to 11.0 and there 'sysdef' is quite useful (obviously).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 22 May 2002 14:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729125#M64958</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-22T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729126#M64959</link>
      <description>In my opinion they've taken a step backwards with kmtune.&lt;BR /&gt;&lt;BR /&gt;sysdef is much better presented and easier to parse.&lt;BR /&gt;&lt;BR /&gt;Is there an SR on that!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 22 May 2002 14:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729126#M64959</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-05-22T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729127#M64960</link>
      <description>kmtune is the best command. You can use "kmtune -l" to get more details. kmtune will look at the follwoing directories/files to get the kernel parameters &lt;BR /&gt;/usr/conf/master.d&lt;BR /&gt;/stand/system.d&lt;BR /&gt;/stand/system&lt;BR /&gt;&lt;BR /&gt;But sysdef will only look at /usr/conf/master.d. So it won't show all the parameters.</description>
      <pubDate>Wed, 22 May 2002 14:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729127#M64960</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-05-22T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729128#M64961</link>
      <description>Though kmtune -l yields all the needed info it's now fun to read. I've written a perl wrapper that reformats and calculated formula's:&lt;BR /&gt;&lt;BR /&gt;(Unclobbered version attached, because the spaces *are* important in the output format)&lt;BR /&gt;&lt;BR /&gt;#!/pro/bin/perl -w&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use integer;&lt;BR /&gt;&lt;BR /&gt;my (%tune, %parm, $parm, %ref);&lt;BR /&gt;&lt;BR /&gt;open my $list, "kmtune -l |";&lt;BR /&gt;while (&amp;lt;$list&amp;gt;) {&lt;BR /&gt;    s/\s+$//;&lt;BR /&gt;    my ($p, $v) = split m/:\s+/, $_, 2 or next;&lt;BR /&gt;    $v =~ s/\b0X([\dA-Fa-f]+)\b/0x\L$1/g;&lt;BR /&gt;    $p eq "Parameter" and $parm = $v, next;&lt;BR /&gt;&lt;BR /&gt;    $tune{$parm}{$p} = $v;&lt;BR /&gt;&lt;BR /&gt;    $p eq "Value" or next;&lt;BR /&gt;    if ($v =~ m/^-?(0x[\da-f]+|\d+)$/) {&lt;BR /&gt;        $parm{uc $parm} = 0 + $v =~ m/^-?0x/ ? hex $v : $v;&lt;BR /&gt;        }&lt;BR /&gt;    else {&lt;BR /&gt;        #printf STDERR "%-20s: '%s'\n", $p, $v;&lt;BR /&gt;        $ref{$parm} = $v;&lt;BR /&gt;        }&lt;BR /&gt;    }&lt;BR /&gt;close $list;&lt;BR /&gt;&lt;BR /&gt;while (keys %ref) {&lt;BR /&gt;    foreach my $p (keys %ref) {&lt;BR /&gt;        my $up = uc $p;&lt;BR /&gt;        my $v  = $tune{$p}{Value};&lt;BR /&gt;        #my @r = (m/\b([A-Za-z]\w*)\b/g);&lt;BR /&gt;        my $x = 0;&lt;BR /&gt;        eval q(&lt;BR /&gt;            $v =~ s/\b([A-Za-z]\w*)\b/exists$parm{uc $1}?$parm{uc $1}:do{$x++,$1&lt;BR /&gt;}/ge;&lt;BR /&gt;            );&lt;BR /&gt;        $x and next;&lt;BR /&gt;        eval "\$v = $v";&lt;BR /&gt;        $parm{$up} = $v;&lt;BR /&gt;        delete $ref{$p};&lt;BR /&gt;        }&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;$= = 64;&lt;BR /&gt;foreach $parm (sort keys %tune) {&lt;BR /&gt;    $tune{$parm}{Default} eq $tune{$parm}{Value} and $tune{$parm}{Default} = "";&lt;BR /&gt;    write;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;format STDOUT_TOP =&lt;BR /&gt;Parameter            Value hex    Value dec   Function                    Defaul&lt;BR /&gt;t&lt;BR /&gt;-------------------- ------------ ----------- --------------------------- ------&lt;BR /&gt;--------------&lt;BR /&gt;.&lt;BR /&gt;format STDOUT =&lt;BR /&gt;@&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; @&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ^&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; ^&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;$parm,sprintf("0x%010x",$parm{uc $parm}),$parm{uc $parm},$tune{$parm}{Value},$tu&lt;BR /&gt;ne{$parm}{Default}&lt;BR /&gt;~~                                            ^&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; ^&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;                                              $tune{$parm}{Value},        $tune{&lt;BR /&gt;$parm}{Default}&lt;BR /&gt;.</description>
      <pubDate>Thu, 23 May 2002 11:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729128#M64961</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-05-23T11:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel values report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729129#M64962</link>
      <description>nice one procura!&lt;BR /&gt;&lt;BR /&gt;kmtune is the best!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 23 May 2002 12:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-values-report/m-p/2729129#M64962</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-05-23T12:42:10Z</dc:date>
    </item>
  </channel>
</rss>

