<?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 Displaying process environment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515973#M870568</link>
    <description>Is there any command/way to display all the environment variables for a given process? I understand that I can write some C code to access kernel structures, but this way is too long  for me.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Mihails&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Apr 2001 08:44:16 GMT</pubDate>
    <dc:creator>Mihails Nikitins</dc:creator>
    <dc:date>2001-04-11T08:44:16Z</dc:date>
    <item>
      <title>Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515973#M870568</link>
      <description>Is there any command/way to display all the environment variables for a given process? I understand that I can write some C code to access kernel structures, but this way is too long  for me.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Mihails&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 08:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515973#M870568</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2001-04-11T08:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515974#M870569</link>
      <description>Try with sysdef</description>
      <pubDate>Wed, 11 Apr 2001 09:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515974#M870569</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-11T09:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515975#M870570</link>
      <description>sysdef prints a very limited list of parameters&lt;BR /&gt;and it does not take arguments.</description>
      <pubDate>Wed, 11 Apr 2001 10:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515975#M870570</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2001-04-11T10:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515976#M870571</link>
      <description>Hi Mihails:&lt;BR /&gt;&lt;BR /&gt;Does 'env' for a shell help you?&lt;BR /&gt;&lt;BR /&gt;# env&lt;BR /&gt;&lt;BR /&gt;For a C program how about 'environ' ?, as:&lt;BR /&gt;&lt;BR /&gt;char **environ;&lt;BR /&gt;&lt;BR /&gt;This points to an array of pointers to the strings comprising the environment.&lt;BR /&gt;&lt;BR /&gt;See 'man env' and 'man 5 environ'.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 11 Apr 2001 10:54:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515976#M870571</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-04-11T10:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515977#M870572</link>
      <description>I run some critical processes that should not be stopped without a serious reason. On the other hand, I need to get faithful information about environment settings for these processes.&lt;BR /&gt;&lt;BR /&gt; E.g., I need to check TZ for all processes, since some them may read settings from custom files.</description>
      <pubDate>Wed, 11 Apr 2001 11:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515977#M870572</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2001-04-11T11:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying process environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515978#M870573</link>
      <description>I'm not sure if it would work or not - but you may try attaching to the process with tusc - you'll get a LOT of output, not all of it useful to you, but it may also be able to show you the environment if you're willing to sit down and trace through it. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 22:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/displaying-process-environment/m-p/2515978#M870573</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2001-04-11T22:49:11Z</dc:date>
    </item>
  </channel>
</rss>

