<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: 10 Strace Commands for Troubleshooting and Debugging Linux Processes	</title>
	<atom:link href="https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 14 Oct 2024 06:47:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-2227995</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 14 Oct 2024 06:47:29 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=27522#comment-2227995</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-2227204&quot;&gt;Trevor Chandler&lt;/a&gt;.

@Trevor,

Yes, there is a difference!

Using sudo &lt;code&gt;strace -o df_debug.txt df -h&lt;/code&gt; directs strace to save all trace output (including errors) directly to &lt;strong&gt;df_debug.txt&lt;/strong&gt;. In contrast, &lt;code&gt;sudo strace df -h &gt; df_debug.txt&lt;/code&gt; only redirects the standard output of the df command to the file, not the strace output.

For capturing detailed tracing information, the &lt;code&gt;-o&lt;/code&gt; switch is more effective.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-2227204">Trevor Chandler</a>.</p>
<p>@Trevor,</p>
<p>Yes, there is a difference!</p>
<p>Using sudo <code>strace -o df_debug.txt df -h</code> directs strace to save all trace output (including errors) directly to <strong>df_debug.txt</strong>. In contrast, <code>sudo strace df -h > df_debug.txt</code> only redirects the standard output of the df command to the file, not the strace output.</p>
<p>For capturing detailed tracing information, the <code>-o</code> switch is more effective.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Trevor Chandler		</title>
		<link>https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-2227204</link>

		<dc:creator><![CDATA[Trevor Chandler]]></dc:creator>
		<pubDate>Fri, 11 Oct 2024 16:26:23 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=27522#comment-2227204</guid>

					<description><![CDATA[On your #9 command example, is there any diiference and/or benefit in using the output redirection character (&#062;), instead of the &lt;code&gt;-o&lt;/code&gt; switch in the stace command?
&lt;pre&gt;
sudo strace -o df_debug.txt df -h
vs.
sudo strace df -h &#062; df_debug.txt
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>On your #9 command example, is there any diiference and/or benefit in using the output redirection character (&gt;), instead of the <code>-o</code> switch in the stace command?</p>
<pre>
sudo strace -o df_debug.txt df -h
vs.
sudo strace df -h &gt; df_debug.txt
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ano Nymos		</title>
		<link>https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-2116202</link>

		<dc:creator><![CDATA[Ano Nymos]]></dc:creator>
		<pubDate>Sun, 17 Dec 2023 17:53:13 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=27522#comment-2116202</guid>

					<description><![CDATA[There are many duplicates of the output to each of your command examples.]]></description>
			<content:encoded><![CDATA[<p>There are many duplicates of the output to each of your command examples.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robin Smith		</title>
		<link>https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/comment-page-1/#comment-1374379</link>

		<dc:creator><![CDATA[Robin Smith]]></dc:creator>
		<pubDate>Wed, 14 Oct 2020 08:58:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=27522#comment-1374379</guid>

					<description><![CDATA[Excellent hints thanks]]></description>
			<content:encoded><![CDATA[<p>Excellent hints thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
