<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Agent parameters...]]></title><description><![CDATA[<ol>
<li>
<p dir="auto">Read file &amp; get data<br />
File.Content.Char(*)<br />
File.Content.Int(*)<br />
File.Content.String(*)</p>
</li>
<li>
<p dir="auto">Read shared memory &amp; get data<br />
Share.Mem.Char(*)<br />
Share.Mem.Int(*)<br />
Share.Mem.String(*)</p>
</li>
</ol>
<p dir="auto">How about ?</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/topic/648/agent-parameters...</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:25:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/648.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2009 07:08:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent parameters... on Thu, 18 Jun 2009 06:20:49 GMT]]></title><description><![CDATA[<ol>
<li>single memory</li>
</ol>
<p dir="auto">Real code below:<br />
============================================<br />
shmid = shmget((key_t)( 9790 + 2 ), 24, 0666|IPC_CREAT);<br />
============================================</p>
<p dir="auto">*9790: shmkey</p>
<p dir="auto">*2: offset (optional)</p>
<p dir="auto">*24: size of data type (could be pre-define)</p>
<p dir="auto">At least needed value is shmkey.</p>
<p dir="auto">Offset value could be merged into shmkey. (ex.9792)</p>
<p dir="auto">I tested, it's ok. But, struct memory...</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/post/3121</link><guid isPermaLink="true">https://forum.netxms.org/post/3121</guid><dc:creator><![CDATA[sushizang]]></dc:creator><pubDate>Thu, 18 Jun 2009 06:20:49 GMT</pubDate></item><item><title><![CDATA[Reply to Agent parameters... on Thu, 18 Jun 2009 02:57:59 GMT]]></title><description><![CDATA[<ol>
<li>if single memory</li>
</ol>
<ul>
<li>MemShared.Int(key, offset)</li>
<li>MemShared.Unint(key, offset)</li>
<li>MemShared.Char(key, offset)</li>
<li>MemShared.Float(key, offset)</li>
<li>MemShared.String(key, offset)</li>
</ul>
<ol start="2">
<li>if struct memory</li>
</ol>
<ul>
<li>MemShared.Struct.Int(key, index, offset)</li>
<li>MemShared.Struct.Unint(key, index, offset)</li>
<li>MemShared.Struct.Char(key, index, offset)</li>
<li>MemShared.Struct.Float(key, index, offset)</li>
<li>MemShared.Struct.String(key, index, offset)</li>
</ul>
<p dir="auto">I don't know details...</p>
<p dir="auto">Thanks.<br />
Regards.</p>
]]></description><link>https://forum.netxms.org/post/3120</link><guid isPermaLink="true">https://forum.netxms.org/post/3120</guid><dc:creator><![CDATA[sushizang]]></dc:creator><pubDate>Thu, 18 Jun 2009 02:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to Agent parameters... on Wed, 17 Jun 2009 10:56:44 GMT]]></title><description><![CDATA[<p dir="auto">Idea sounds good.</p>
<p dir="auto">What arguments should these parameters take? For file it probably should be file name and offset within file, plus string length for File.Content.String?<br />
And what for shared mem?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3114</link><guid isPermaLink="true">https://forum.netxms.org/post/3114</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 17 Jun 2009 10:56:44 GMT</pubDate></item></channel></rss>