<?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 up an env variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831773#M89055</link>
    <description>Hi, &lt;BR /&gt;You can make a link to a big file system every thing which is comming to /var/tmp will go to the new FS.&lt;BR /&gt;Another method is to enlarge /var &amp;amp; to clean files which are older than a couple of days.&lt;BR /&gt;#/usr/bin/touch /var/tmp; /usr/bin/find /var/tmp -mtime +7 -exec -rm -rf {} \;&lt;BR /&gt;&lt;BR /&gt;You can set this command at your crontab.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hamdy</description>
    <pubDate>Wed, 23 Oct 2002 13:12:51 GMT</pubDate>
    <dc:creator>Hamdy Al-Sebaey</dc:creator>
    <dc:date>2002-10-23T13:12:51Z</dc:date>
    <item>
      <title>Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831767#M89049</link>
      <description>Hello out there!,&lt;BR /&gt;&lt;BR /&gt;One of our developers uses the sort() system call rather extensively, which constantly writes stuff to /var/tmp. As /var/tmp is not very large it proposes a problem. I would like to set up a global variable which would redirect the path somewhere else. Where should I begin?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 23 Oct 2002 12:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831767#M89049</guid>
      <dc:creator>Ronald Cogen</dc:creator>
      <dc:date>2002-10-23T12:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831768#M89050</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;$TMPDIR is used by sort.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jean-Louis.</description>
      <pubDate>Wed, 23 Oct 2002 13:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831768#M89050</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-10-23T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831769#M89051</link>
      <description>you can frequently clean /var/tmp.&lt;BR /&gt;you can schedule a cron job &lt;BR /&gt;&lt;BR /&gt;# find /var/tmp -type f -mtime +7 -exec rm {} \;&lt;BR /&gt;# find /var/tmp -type d -mtime +7 -exec rm -r {} \; &lt;BR /&gt;</description>
      <pubDate>Wed, 23 Oct 2002 13:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831769#M89051</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-23T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831770#M89052</link>
      <description>Hello Jean Louis,&lt;BR /&gt;&lt;BR /&gt;Where should I redefine $TMPDIR?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 23 Oct 2002 13:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831770#M89052</guid>
      <dc:creator>Ronald Cogen</dc:creator>
      <dc:date>2002-10-23T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831771#M89053</link>
      <description>You can have the developers set their tmp to a different space by modifying their .profile or .kshrc. Also their is an option on the sort command sort -T directoryname. This will allow them to pick the temporary sort location. Do a man on sort and check out the -T option.</description>
      <pubDate>Wed, 23 Oct 2002 13:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831771#M89053</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2002-10-23T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831772#M89054</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could define it either in your /etc/profile or directly in the program which calls sort (export TMPDIR=/xxx in shell, putenv("TMPDIR=/xxx") in C).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jean-Louis.</description>
      <pubDate>Wed, 23 Oct 2002 13:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831772#M89054</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-10-23T13:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831773#M89055</link>
      <description>Hi, &lt;BR /&gt;You can make a link to a big file system every thing which is comming to /var/tmp will go to the new FS.&lt;BR /&gt;Another method is to enlarge /var &amp;amp; to clean files which are older than a couple of days.&lt;BR /&gt;#/usr/bin/touch /var/tmp; /usr/bin/find /var/tmp -mtime +7 -exec -rm -rf {} \;&lt;BR /&gt;&lt;BR /&gt;You can set this command at your crontab.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hamdy</description>
      <pubDate>Wed, 23 Oct 2002 13:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831773#M89055</guid>
      <dc:creator>Hamdy Al-Sebaey</dc:creator>
      <dc:date>2002-10-23T13:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up an env variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831774#M89056</link>
      <description>Hi Ron,&lt;BR /&gt;&lt;BR /&gt;My first choice is to add space to /var.&lt;BR /&gt;&lt;BR /&gt;Perhaps a workaround is to link /var/tmp to a directory in a filesystem with plenty of space.  Still, since the OS expects /var/tmp to be used for sort (and other processes), it's best to give space where it is really needed.&lt;BR /&gt;&lt;BR /&gt;You could also create /var/tmp as a separate filesystem with the space it needs.&lt;BR /&gt;&lt;BR /&gt;Does the application clean up after itself?  If not, I'd have a discussion with the developer.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Wed, 23 Oct 2002 13:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-an-env-variable/m-p/2831774#M89056</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-10-23T13:13:16Z</dc:date>
    </item>
  </channel>
</rss>

