<?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: chatr and C++ in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900954#M96622</link>
    <description>Julien,&lt;BR /&gt;I don't know of a direct command, but how about mallocing space until loop fails?</description>
    <pubDate>Mon, 20 Nov 2006 05:41:34 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-11-20T05:41:34Z</dc:date>
    <item>
      <title>chatr and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900953#M96621</link>
      <description>Hi,&lt;BR /&gt;I work on HP-UX B11.11 plateforms and I've used the chatr command on a binary file in order to use the third quadrant as data space.&lt;BR /&gt;'chatr +q3p enable name_fo_the_binary'&lt;BR /&gt;&lt;BR /&gt;I would like to get, in a C/C++ software, the value of the theorical data space accessible for this process (I saw on the man that when you enable the third quadrant, this value is increased from 1.9GB to 2.85GB)&lt;BR /&gt;&lt;BR /&gt;Is there any way to get this value on a C/C++ software ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Julien V</description>
      <pubDate>Mon, 20 Nov 2006 04:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900953#M96621</guid>
      <dc:creator>VanderstraetenJ</dc:creator>
      <dc:date>2006-11-20T04:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: chatr and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900954#M96622</link>
      <description>Julien,&lt;BR /&gt;I don't know of a direct command, but how about mallocing space until loop fails?</description>
      <pubDate>Mon, 20 Nov 2006 05:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900954#M96622</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-20T05:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: chatr and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900955#M96623</link>
      <description>Thanks for the answer but I can't use this solution... I don't find it very "clean" and I must respect a lot of constraints and more precisely, time constraints...&lt;BR /&gt;&lt;BR /&gt;I think that a C/C++ function (like tuneinfo that allow to get a lot of system tunable parameters), if it exists, should give best time performs and is really the best solution for me.&lt;BR /&gt;&lt;BR /&gt;Julien</description>
      <pubDate>Mon, 20 Nov 2006 07:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900955#M96623</guid>
      <dc:creator>VanderstraetenJ</dc:creator>
      <dc:date>2006-11-20T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: chatr and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900956#M96624</link>
      <description>Hi,&lt;BR /&gt;please see James's answer in :&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72276" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72276&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;His program will display the data space used for a specific id of a RUNNING process. I am sure you could adapt his code.&lt;BR /&gt;&lt;BR /&gt;If you enabled the 3rd quadrant, you already stated how much data space increases to, so why do you want to check in your program.&lt;BR /&gt;&lt;BR /&gt;Please also read on a general note:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward the answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Nov 2006 08:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900956#M96624</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-20T08:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: chatr and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900957#M96625</link>
      <description>Although I know the value I want to check in my program the theorical accessible data space because I need to make a 'generic' algorithm that can be used on similar (but not exactly the same) case (it will be include in a kind of toolbox).&lt;BR /&gt;&lt;BR /&gt;I'm searching around the James' answers since this morning but I don't find what I really search...&lt;BR /&gt;&lt;BR /&gt;Perhaps I'm too tired... ;-)&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Julien</description>
      <pubDate>Mon, 20 Nov 2006 09:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900957#M96625</guid>
      <dc:creator>VanderstraetenJ</dc:creator>
      <dc:date>2006-11-20T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: chatr and aC++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900958#M96626</link>
      <description>&lt;P&gt;I assume you know that you must link with -N in order to get the 1.9 GB?&lt;/P&gt;&lt;P&gt;And on IPF you must link with -N to even use chatr +as mpas?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 11:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chatr-and-c/m-p/3900958#M96626</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-09-08T11:00:05Z</dc:date>
    </item>
  </channel>
</rss>

