<?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: Setting Env Variables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290116#M181971</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use kctune to do the configuration. kctune -c takes a config file. man kctune will help&lt;BR /&gt;&lt;BR /&gt;manish</description>
    <pubDate>Fri, 28 May 2004 10:24:09 GMT</pubDate>
    <dc:creator>Manish Srivastava</dc:creator>
    <dc:date>2004-05-28T10:24:09Z</dc:date>
    <item>
      <title>Setting Env Variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290115#M181970</link>
      <description>On Solaris I edit the /etc/system file to set certain variables. Example:&lt;BR /&gt;        shmmax=209715200&lt;BR /&gt;        shmmni=100&lt;BR /&gt;        etc...&lt;BR /&gt;Where do I go on an HP11i to do this?</description>
      <pubDate>Fri, 28 May 2004 10:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290115#M181970</guid>
      <dc:creator>Stuart Lloyd_2</dc:creator>
      <dc:date>2004-05-28T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Env Variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290116#M181971</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use kctune to do the configuration. kctune -c takes a config file. man kctune will help&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Fri, 28 May 2004 10:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290116#M181971</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-05-28T10:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Env Variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290117#M181972</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In HP-UX, probably the easiest way to set kernel parameters is to go into 'sam' and do it.  Select Kernel Configuration -&amp;gt; Configurable Parameters.  Any values listed as Static will require a kernel rebuild and a reboot.&lt;BR /&gt;&lt;BR /&gt;You can do it from the command line, but I'm too lazy for that.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2004 10:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290117#M181972</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-05-28T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Env Variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290118#M181973</link>
      <description>assuming you are trying to set kernel parameters, its totally different in HP-UX.&lt;BR /&gt;&lt;BR /&gt;Here is a guide to kernel modifications.&lt;BR /&gt;&lt;BR /&gt;#cd /stand&lt;BR /&gt;#cp vmunix vmunix.old&lt;BR /&gt;#cp system system.old&lt;BR /&gt;#cd build&lt;BR /&gt;&lt;BR /&gt;#this is the changed line.&lt;BR /&gt;#/usr/lbin/sysadm/system_prep -s system&lt;BR /&gt;&lt;BR /&gt;Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then&lt;BR /&gt;#mk_kernel -s system&lt;BR /&gt;For more information see the man page of mk_kernel&lt;BR /&gt;&lt;BR /&gt;to update parameters:&lt;BR /&gt;&lt;BR /&gt;kmtune -s  shmmax=209715200 -S /stand/build/system&lt;BR /&gt;&lt;BR /&gt;Some parameters such as shmmax can be updated without a boot with the command kmtune -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now one new kernel will be created in /stand/build directory. Copy this to original location&lt;BR /&gt;#cd /stand/build&lt;BR /&gt;#cp vmunix_test /stand/vmunix&lt;BR /&gt;#cp system /stand&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you are new to HP-UX it might be better to do this process via sam&lt;BR /&gt;&lt;BR /&gt;sam &lt;BR /&gt;&lt;BR /&gt;Kernel&lt;BR /&gt;&lt;BR /&gt;Change configurable parameters.&lt;BR /&gt;&lt;BR /&gt;When done: Actions, process new kernel. This requires in most cases a boot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 28 May 2004 10:28:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290118#M181973</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-28T10:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Env Variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290119#M181974</link>
      <description>Hey Stuart,&lt;BR /&gt;I agree with John (lazy or not, it's the safest solution).  Best solution I have found (and safest so I don't muck up anything) is using SAM ... Note, this works for 10.20, 11.00, 11.11 so it's the best solution I know of ...&lt;BR /&gt;# sam&lt;BR /&gt;select Kernel Configuration&lt;BR /&gt;select Configurable Kernel Parameters</description>
      <pubDate>Fri, 28 May 2004 10:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-env-variables/m-p/3290119#M181974</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2004-05-28T10:37:45Z</dc:date>
    </item>
  </channel>
</rss>

