<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: MDB Example: Displaying environment variables of a process</title>
	<atom:link href="http://blog.curthread.org/posts/solaris/mdb/display_envp.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html</link>
	<description>Most advanced OS on the planet</description>
	<pubDate>Wed, 10 Mar 2010 21:34:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Eoin Hughes</title>
		<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html#comment-108491</link>
		<dc:creator>Eoin Hughes</dc:creator>
		<pubDate>Mon, 15 Jun 2009 10:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.curthread.org/?p=7#comment-108491</guid>
		<description>Thank you, I found this very helpful.

I did noticed one very helpful little thing. When you get the first pointer, if you resolve it to a string immediately, the rest of the values returned by '+' will also be resolved. I deal very rarely with mdb, so I don't know if this is something that should be relied upon to work, but it is very cool:
&#62; 0x8044200/X
0x8044200:      8044950         
&#62; 8044950/S
0x8044950:      _=/usr/bin/rsh
&#62; +
0x804495f:      ADM_MESSAGES=/var/adm/messages

(and + from then on shows me the variable values, without needed a second pass)</description>
		<content:encoded><![CDATA[<p>Thank you, I found this very helpful.</p>
<p>I did noticed one very helpful little thing. When you get the first pointer, if you resolve it to a string immediately, the rest of the values returned by &#8216;+&#8217; will also be resolved. I deal very rarely with mdb, so I don&#8217;t know if this is something that should be relied upon to work, but it is very cool:<br />
&gt; 0&#215;8044200/X<br />
0&#215;8044200:      8044950<br />
&gt; 8044950/S<br />
0&#215;8044950:      _=/usr/bin/rsh<br />
&gt; +<br />
0&#215;804495f:      ADM_MESSAGES=/var/adm/messages</p>
<p>(and + from then on shows me the variable values, without needed a second pass)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Voronin</title>
		<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html#comment-2983</link>
		<dc:creator>Ilya Voronin</dc:creator>
		<pubDate>Sun, 07 Jan 2007 15:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.curthread.org/?p=7#comment-2983</guid>
		<description>I think that this is a feature of shells, - they use internal structures to store variables.</description>
		<content:encoded><![CDATA[<p>I think that this is a feature of shells, - they use internal structures to store variables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yong Huang</title>
		<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html#comment-2982</link>
		<dc:creator>Yong Huang</dc:creator>
		<pubDate>Sun, 07 Jan 2007 14:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.curthread.org/?p=7#comment-2982</guid>
		<description>Thanks for this tip, Mr (can't find your name). Do you know any way to find the real running process environment? I mean, your method, as well as /usr/ucb/ps eww and pargs -e, finds the environment of the process when it was created, not as of now. If my shell does export A=B now, all these methods won't detect this new setting. Thanks. -- Yong Huang</description>
		<content:encoded><![CDATA[<p>Thanks for this tip, Mr (can&#8217;t find your name). Do you know any way to find the real running process environment? I mean, your method, as well as /usr/ucb/ps eww and pargs -e, finds the environment of the process when it was created, not as of now. If my shell does export A=B now, all these methods won&#8217;t detect this new setting. Thanks. &#8212; Yong Huang</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Voronin</title>
		<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html#comment-3</link>
		<dc:creator>Ilya Voronin</dc:creator>
		<pubDate>Wed, 23 Aug 2006 00:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.curthread.org/?p=7#comment-3</guid>
		<description>Do not mix up "-k" (lower case) and "-K" (upper case) options. mdb with "-K" option will load kmdb and stop kernel execution. "-k" option is a synonym for "mdb /dev/ksyms /dev/kmem"</description>
		<content:encoded><![CDATA[<p>Do not mix up &#8220;-k&#8221; (lower case) and &#8220;-K&#8221; (upper case) options. mdb with &#8220;-K&#8221; option will load kmdb and stop kernel execution. &#8220;-k&#8221; option is a synonym for &#8220;mdb /dev/ksyms /dev/kmem&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Nasonov</title>
		<link>http://blog.curthread.org/posts/solaris/mdb/display_envp.html#comment-2</link>
		<dc:creator>Alexander Nasonov</dc:creator>
		<pubDate>Wed, 23 Aug 2006 00:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.curthread.org/?p=7#comment-2</guid>
		<description>It's not clear from your post that mdb -k stops the entire system, doesn't it?</description>
		<content:encoded><![CDATA[<p>It&#8217;s not clear from your post that mdb -k stops the entire system, doesn&#8217;t it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.281 seconds -->
