<?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 for BinaryTides	</title>
	<atom:link href="https://www.binarytides.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Thu, 04 Jan 2024 10:57:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		Comment on How to Benchmark Ram Speed on Linux / Ubuntu / Fedora with Sysbench by Rayan		</title>
		<link>https://www.binarytides.com/benchmark-ram-speed-on-linux-with-sysbench/comment-page-1/#comment-365118</link>

		<dc:creator><![CDATA[Rayan]]></dc:creator>
		<pubDate>Thu, 04 Jan 2024 10:57:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=14245#comment-365118</guid>

					<description><![CDATA[Great Article.
Could you elaborate a bit how with this command i can verify the nominal speed of my RAM? Ive been told that my laptop (RYZEN 7 7735HS) supports DDR5 4800 MT/s and in the case of using a higher clock speed it will be clocked down to 4800. but people on reddit and elsewhere claim they have used 5600 MT/s RAMs successfully with noticable operating speed. how can i verify that using this command?]]></description>
			<content:encoded><![CDATA[<p>Great Article.<br />
Could you elaborate a bit how with this command i can verify the nominal speed of my RAM? Ive been told that my laptop (RYZEN 7 7735HS) supports DDR5 4800 MT/s and in the case of using a higher clock speed it will be clocked down to 4800. but people on reddit and elsewhere claim they have used 5600 MT/s RAMs successfully with noticable operating speed. how can i verify that using this command?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on PHP &#8211; How to Parse Html DOM with DOMDocument by Matt K.		</title>
		<link>https://www.binarytides.com/php-tutorial-parsing-html-with-domdocument/comment-page-1/#comment-364685</link>

		<dc:creator><![CDATA[Matt K.]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 21:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=2993#comment-364685</guid>

					<description><![CDATA[Thank you for the post]]></description>
			<content:encoded><![CDATA[<p>Thank you for the post</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Check hardware information on Linux with &#8220;hwinfo&#8221; command by Silver Moon		</title>
		<link>https://www.binarytides.com/linux-hwinfo-command/comment-page-1/#comment-363943</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Thu, 07 Dec 2023 11:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=6851#comment-363943</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/linux-hwinfo-command/comment-page-1/#comment-66076&quot;&gt;aselvan&lt;/a&gt;.

Thanks for the information. 
Besides hwinfo there are other options like lshw, hardinfo and inxi for checking hardware details on linux.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/linux-hwinfo-command/comment-page-1/#comment-66076">aselvan</a>.</p>
<p>Thanks for the information.<br />
Besides hwinfo there are other options like lshw, hardinfo and inxi for checking hardware details on linux.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to Check Listening / Open Ports with Netstat on Linux by Silver Moon		</title>
		<link>https://www.binarytides.com/check-open-ports-with-netstat-on-linux/comment-page-1/#comment-363727</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Sun, 03 Dec 2023 08:59:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=10370#comment-363727</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/check-open-ports-with-netstat-on-linux/comment-page-1/#comment-274704&quot;&gt;Prashant Throat&lt;/a&gt;.

Yeah, that&#039;s correct. 
The -u option can be used to check udp ports exclusively.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/check-open-ports-with-netstat-on-linux/comment-page-1/#comment-274704">Prashant Throat</a>.</p>
<p>Yeah, that&#8217;s correct.<br />
The -u option can be used to check udp ports exclusively.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to code a Packet Sniffer in C with Linux Sockets &#8211; Part 2 by Rick		</title>
		<link>https://www.binarytides.com/packet-sniffer-code-in-c-using-linux-sockets-bsd-part-2/comment-page-1/#comment-362518</link>

		<dc:creator><![CDATA[Rick]]></dc:creator>
		<pubDate>Thu, 09 Nov 2023 07:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1045#comment-362518</guid>

					<description><![CDATA[Hi... Thank you for the Excellent Tutorials and practical program examples.
I was trying to sniff only ARP/RARP and DHCP (or if needed BootP) packets on my network, because it is a mix of DHCP and static IP configurations. I was wondering what would be the values in the third option of the socket(...,...,???) function?
Help would be greatly appreciated.
Thanks..]]></description>
			<content:encoded><![CDATA[<p>Hi&#8230; Thank you for the Excellent Tutorials and practical program examples.<br />
I was trying to sniff only ARP/RARP and DHCP (or if needed BootP) packets on my network, because it is a mix of DHCP and static IP configurations. I was wondering what would be the values in the third option of the socket(&#8230;,&#8230;,???) function?<br />
Help would be greatly appreciated.<br />
Thanks..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to convert HDR video to SDR with ffmpeg by Will C		</title>
		<link>https://www.binarytides.com/convert-hdr-video-to-sdr-with-ffmpeg/comment-page-1/#comment-362504</link>

		<dc:creator><![CDATA[Will C]]></dc:creator>
		<pubDate>Thu, 09 Nov 2023 02:15:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=15677#comment-362504</guid>

					<description><![CDATA[Hi! This is great! Can you help put together a guide for using QSV and tonemapping hdr to sdr? I&#039;m really struggling!

Here&#039;s what I have right now that works: 
ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i input.mkv -vf zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p,scale=1280:-2 -vcodec h264_qsv -map 0:v -map 0:a:0 -map 0:a:1 -c:a copy -map 0:s:0 -c:s copy outputfile720p.mkv

What this is doing:
1)UHD HDR hevc source
2)Tonemapping
3)Scaling to 720p
4) Encoding to h264
5) Copying the first two audio tracks and the first subtitle track using the map function. I have to map video as well or else it fails. 

This correctly tonemaps, and I can tell via intel_gpu_top that some gpu is being used, but the filter is not going through qsv. 

Bonus question: I can&#039;t get global_quality to work, how does that work with -vcodec h264_qsv]]></description>
			<content:encoded><![CDATA[<p>Hi! This is great! Can you help put together a guide for using QSV and tonemapping hdr to sdr? I&#8217;m really struggling!</p>
<p>Here&#8217;s what I have right now that works:<br />
ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i input.mkv -vf zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p,scale=1280:-2 -vcodec h264_qsv -map 0:v -map 0:a:0 -map 0:a:1 -c:a copy -map 0:s:0 -c:s copy outputfile720p.mkv</p>
<p>What this is doing:<br />
1)UHD HDR hevc source<br />
2)Tonemapping<br />
3)Scaling to 720p<br />
4) Encoding to h264<br />
5) Copying the first two audio tracks and the first subtitle track using the map function. I have to map video as well or else it fails. </p>
<p>This correctly tonemaps, and I can tell via intel_gpu_top that some gpu is being used, but the filter is not going through qsv. </p>
<p>Bonus question: I can&#8217;t get global_quality to work, how does that work with -vcodec h264_qsv</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on UDP Socket Programming in Php &#8211; How to Code Client and Server by cesar		</title>
		<link>https://www.binarytides.com/udp-socket-programming-in-php/comment-page-1/#comment-362159</link>

		<dc:creator><![CDATA[cesar]]></dc:creator>
		<pubDate>Thu, 02 Nov 2023 03:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=2830#comment-362159</guid>

					<description><![CDATA[Tengo error:
No se podía recibir datos: [10045] El intento de operación no es compatible con el tipo de objeto referenciado.]]></description>
			<content:encoded><![CDATA[<p>Tengo error:<br />
No se podía recibir datos: [10045] El intento de operación no es compatible con el tipo de objeto referenciado.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on UDP Socket programming in winsock &#8211; How to code Client and Server by Chuan		</title>
		<link>https://www.binarytides.com/udp-socket-programming-in-winsock/comment-page-1/#comment-361221</link>

		<dc:creator><![CDATA[Chuan]]></dc:creator>
		<pubDate>Fri, 13 Oct 2023 18:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=2778#comment-361221</guid>

					<description><![CDATA[Hi,

do you have source ?

Thanks,
Chuan]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>do you have source ?</p>
<p>Thanks,<br />
Chuan</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on 12 Important Specifications of Processor (CPU) Explained &#8211; The Ultimate Guide by Pratik		</title>
		<link>https://www.binarytides.com/cpu-specs-explained/comment-page-1/#comment-359544</link>

		<dc:creator><![CDATA[Pratik]]></dc:creator>
		<pubDate>Fri, 15 Sep 2023 10:13:26 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=11481#comment-359544</guid>

					<description><![CDATA[Much informative and unbiased...
Thank you so much ]]></description>
			<content:encoded><![CDATA[<p>Much informative and unbiased&#8230;<br />
Thank you so much </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to monitor cpu power consumption in watts on Ubuntu by Silver Moon		</title>
		<link>https://www.binarytides.com/monitor-cpu-power-consumption-on-ubuntu/comment-page-1/#comment-359143</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Wed, 06 Sep 2023 14:41:17 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=14156#comment-359143</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/monitor-cpu-power-consumption-on-ubuntu/comment-page-1/#comment-358946&quot;&gt;Samuel&lt;/a&gt;.

that&#039;s a good idea, specially for a &quot;mobile&quot; form factor device that can tell its heat levels through body touch.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/monitor-cpu-power-consumption-on-ubuntu/comment-page-1/#comment-358946">Samuel</a>.</p>
<p>that&#8217;s a good idea, specially for a &#8220;mobile&#8221; form factor device that can tell its heat levels through body touch.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to monitor cpu power consumption in watts on Ubuntu by Samuel		</title>
		<link>https://www.binarytides.com/monitor-cpu-power-consumption-on-ubuntu/comment-page-1/#comment-358946</link>

		<dc:creator><![CDATA[Samuel]]></dc:creator>
		<pubDate>Fri, 01 Sep 2023 08:46:01 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=14156#comment-358946</guid>

					<description><![CDATA[This is interesting, thanks to turbostat I can see the C-states in a nice table. But I am not sure about the absolute values, especially with only the Watts for &quot;pkg&quot;. With &quot;perf stat&quot; there is also a &quot;psys&quot;. Here two lines from a one-second-run, 1 Joule = 1 Watt/second:

              1.26 Joules energy-psys                                                 
              0.80 Joules energy-pkg
              ...

Even this energy-psys only &quot;reflects&quot; the Watts indicated by my real (external) power meter. I read between 2.8 - 4.2 W depending on the kernel/distro. Good idling is with 3.2W real, 1W psys and a cool case. Not-so-good is 3.8W real, 3W psys and &quot;feverish&quot; case after 15 minutes. I am not even convinced the power meter manages to measure the (variable?) current precisely. 

25  W noturbo, 75% pstate limit  
4.0 W minimal activity / bad idling
3.2 W good idling (can even stay at 2.8 W - but how exactly?!?)
1.8 W &quot;freeze&quot;
1.1 W suspend-to-ram
0.9 W (!) Main power Off 

This is with a 2017 intel nuc mini-pc. The numbers show you CAN get quite close to &quot;freeze&quot; system state. Feeling the warmth of the case is the best control, especially when the fan is not blowing (yet).]]></description>
			<content:encoded><![CDATA[<p>This is interesting, thanks to turbostat I can see the C-states in a nice table. But I am not sure about the absolute values, especially with only the Watts for &#8220;pkg&#8221;. With &#8220;perf stat&#8221; there is also a &#8220;psys&#8221;. Here two lines from a one-second-run, 1 Joule = 1 Watt/second:</p>
<p>              1.26 Joules energy-psys<br />
              0.80 Joules energy-pkg<br />
              &#8230;</p>
<p>Even this energy-psys only &#8220;reflects&#8221; the Watts indicated by my real (external) power meter. I read between 2.8 &#8211; 4.2 W depending on the kernel/distro. Good idling is with 3.2W real, 1W psys and a cool case. Not-so-good is 3.8W real, 3W psys and &#8220;feverish&#8221; case after 15 minutes. I am not even convinced the power meter manages to measure the (variable?) current precisely. </p>
<p>25  W noturbo, 75% pstate limit<br />
4.0 W minimal activity / bad idling<br />
3.2 W good idling (can even stay at 2.8 W &#8211; but how exactly?!?)<br />
1.8 W &#8220;freeze&#8221;<br />
1.1 W suspend-to-ram<br />
0.9 W (!) Main power Off </p>
<p>This is with a 2017 intel nuc mini-pc. The numbers show you CAN get quite close to &#8220;freeze&#8221; system state. Feeling the warmth of the case is the best control, especially when the fan is not blowing (yet).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to Make Disk Drive and Partitions Writable on Ubuntu by Silver Moon		</title>
		<link>https://www.binarytides.com/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/comment-page-1/#comment-358895</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Thu, 31 Aug 2023 14:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=231#comment-358895</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/comment-page-1/#comment-358629&quot;&gt;baser&lt;/a&gt;.

Thanks for the comment]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/comment-page-1/#comment-358629">baser</a>.</p>
<p>Thanks for the comment</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on How to Make Disk Drive and Partitions Writable on Ubuntu by baser		</title>
		<link>https://www.binarytides.com/access-other-partitions-as-writable-from-dolphin-kde-in-ubuntu/comment-page-1/#comment-358629</link>

		<dc:creator><![CDATA[baser]]></dc:creator>
		<pubDate>Tue, 22 Aug 2023 16:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=231#comment-358629</guid>

					<description><![CDATA[Thanks a lot … it worked]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot … it worked</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Sqlmap tutorial for beginners &#8211; hacking with sql injection by Malose		</title>
		<link>https://www.binarytides.com/sqlmap-hacking-tutorial/comment-page-1/#comment-358594</link>

		<dc:creator><![CDATA[Malose]]></dc:creator>
		<pubDate>Mon, 21 Aug 2023 17:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=2472#comment-358594</guid>

					<description><![CDATA[Perfect simple elegant tutorial, this is a wind to my sail, thanks a lot.]]></description>
			<content:encoded><![CDATA[<p>Perfect simple elegant tutorial, this is a wind to my sail, thanks a lot.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Examples of &#8220;iotop&#8221; command in Linux &#8211; Monitor disk input/output per process by Prateek Karnadhar		</title>
		<link>https://www.binarytides.com/iotop-command-examples-in-linux/comment-page-1/#comment-358503</link>

		<dc:creator><![CDATA[Prateek Karnadhar]]></dc:creator>
		<pubDate>Fri, 18 Aug 2023 18:30:13 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=15574#comment-358503</guid>

					<description><![CDATA[The `iotop` command in Linux is a tool that provides real-time monitoring of disk I/O usage by processes on a system. While `iotop` is a useful utility for gaining insights into disk I/O behavior, there are a few potential problems or limitations associated with its usage:

1. Root Privileges: Running `iotop` typically requires root privileges because it needs access to kernel-level I/O statistics. This means you need to run it with `sudo`, which might not always be feasible or desired for all users.

2. System Impact: Monitoring I/O usage in real-time can consume system resources itself, potentially affecting the overall system performance. This impact might be more pronounced on systems with heavy I/O loads or limited resources.

3. Limited Historical Data: `iotop` provides real-time data but does not offer a history of disk I/O usage over time. If you need to analyze historical I/O patterns or trends, you might need to complement `iotop` with other tools that collect and store historical data.

4. Complexity and Learning Curve: Understanding the various columns and data presented by `iotop` might require some familiarity with disk I/O concepts and Linux internals. This can be a challenge for users who are not well-versed in these areas.

5. Dependency and Availability: `iotop` might not be installed by default on all Linux distributions. Users need to ensure that it is available on their system or install it using package managers.

6. Non-Standard Behavior: Different versions of `iotop` might have slightly different behavior and options depending on the distribution and version of Linux. This can lead to inconsistencies when moving between different systems.

7. Process Identifier (PID) Changes: In systems with dynamic processes, the PIDs of processes can change over time. This can make it challenging to track specific processes&#039; I/O usage accurately.

8. External Dependencies: `iotop` relies on the `python` and `psutil` libraries to gather and display I/O information. If these dependencies are not present or configured correctly, `iotop` might not function as expected.

Despite these potential problems, `iotop` remains a valuable tool for gaining insights into real-time disk I/O usage by processes on a Linux system. Users can manage and mitigate these issues by considering the limitations and being aware of the potential impact on their system&#039;s performance.]]></description>
			<content:encoded><![CDATA[<p>The `iotop` command in Linux is a tool that provides real-time monitoring of disk I/O usage by processes on a system. While `iotop` is a useful utility for gaining insights into disk I/O behavior, there are a few potential problems or limitations associated with its usage:</p>
<p>1. Root Privileges: Running `iotop` typically requires root privileges because it needs access to kernel-level I/O statistics. This means you need to run it with `sudo`, which might not always be feasible or desired for all users.</p>
<p>2. System Impact: Monitoring I/O usage in real-time can consume system resources itself, potentially affecting the overall system performance. This impact might be more pronounced on systems with heavy I/O loads or limited resources.</p>
<p>3. Limited Historical Data: `iotop` provides real-time data but does not offer a history of disk I/O usage over time. If you need to analyze historical I/O patterns or trends, you might need to complement `iotop` with other tools that collect and store historical data.</p>
<p>4. Complexity and Learning Curve: Understanding the various columns and data presented by `iotop` might require some familiarity with disk I/O concepts and Linux internals. This can be a challenge for users who are not well-versed in these areas.</p>
<p>5. Dependency and Availability: `iotop` might not be installed by default on all Linux distributions. Users need to ensure that it is available on their system or install it using package managers.</p>
<p>6. Non-Standard Behavior: Different versions of `iotop` might have slightly different behavior and options depending on the distribution and version of Linux. This can lead to inconsistencies when moving between different systems.</p>
<p>7. Process Identifier (PID) Changes: In systems with dynamic processes, the PIDs of processes can change over time. This can make it challenging to track specific processes&#8217; I/O usage accurately.</p>
<p>8. External Dependencies: `iotop` relies on the `python` and `psutil` libraries to gather and display I/O information. If these dependencies are not present or configured correctly, `iotop` might not function as expected.</p>
<p>Despite these potential problems, `iotop` remains a valuable tool for gaining insights into real-time disk I/O usage by processes on a Linux system. Users can manage and mitigate these issues by considering the limitations and being aware of the potential impact on their system&#8217;s performance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Socket programming in C on Linux &#8211; The Ultimate Guide for Beginners by Silver Moon		</title>
		<link>https://www.binarytides.com/socket-programming-c-linux-tutorial/comment-page-3/#comment-358428</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Wed, 16 Aug 2023 01:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1271#comment-358428</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/socket-programming-c-linux-tutorial/comment-page-3/#comment-358417&quot;&gt;Mike Kelly&lt;/a&gt;.

thanks for the feedback. shall improve in future.
glad that you found the guide useful.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/socket-programming-c-linux-tutorial/comment-page-3/#comment-358417">Mike Kelly</a>.</p>
<p>thanks for the feedback. shall improve in future.<br />
glad that you found the guide useful.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Socket programming in C on Linux &#8211; The Ultimate Guide for Beginners by Mike Kelly		</title>
		<link>https://www.binarytides.com/socket-programming-c-linux-tutorial/comment-page-3/#comment-358417</link>

		<dc:creator><![CDATA[Mike Kelly]]></dc:creator>
		<pubDate>Tue, 15 Aug 2023 02:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1271#comment-358417</guid>

					<description><![CDATA[Thanks for this tutorial.  Much better than the usual recv/send server side examples.   Using this info I wrote a server side program for my GPS tracker, a Carscop CCTR-803.

Re: improvements, on the server side code, zero out the buffer after the write (ie: after &quot;send the message back to client&quot;) in the connection handler.]]></description>
			<content:encoded><![CDATA[<p>Thanks for this tutorial.  Much better than the usual recv/send server side examples.   Using this info I wrote a server side program for my GPS tracker, a Carscop CCTR-803.</p>
<p>Re: improvements, on the server side code, zero out the buffer after the write (ie: after &#8220;send the message back to client&#8221;) in the connection handler.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on 10 &#8220;lsof&#8221; command examples in Linux &#8211; Check open files and sockets by ClearHolidays		</title>
		<link>https://www.binarytides.com/lsof-command-examples-in-linux/comment-page-1/#comment-358290</link>

		<dc:creator><![CDATA[ClearHolidays]]></dc:creator>
		<pubDate>Fri, 11 Aug 2023 05:19:15 +0000</pubDate>
		<guid isPermaLink="false">https://www.binarytides.com/?p=15730#comment-358290</guid>

					<description><![CDATA[The `lsof` command in Linux is used to list open files and network sockets associated with running processes. It&#039;s a powerful tool that provides insights into which files and sockets processes have opened, which can be useful for troubleshooting, monitoring, and analyzing system behavior. Here are some scenarios in which you might want to use the `lsof` command along with examples:

1. **Troubleshooting Processes:**
   You can use `lsof` to identify which processes have certain files open, which can be helpful when diagnosing issues like &quot;file in use&quot; errors.

   Example: To find processes that have a specific file named &quot;example.txt&quot; open:
   ```bash
   lsof /path/to/example.txt
   ```

2. **Monitoring Network Connections:**
   `lsof` can help you monitor network connections and find out which processes are using certain network sockets.

   Example: To list all network sockets in use:
   ```bash
   lsof -i
   ```

3. **Checking for Deleted Files:**
   Sometimes, even if a file is deleted, processes might still have it open. `lsof` can reveal such &quot;deleted but still open&quot; files.

   Example: To find deleted files that are still open:
   ```bash
   lsof +L1
   ```

4. **Identifying Processes Holding a File:**
   If you&#039;re trying to determine which processes are preventing you from unmounting a filesystem or ejecting a removable device, `lsof` can help.

   Example: To find processes using files on a specific filesystem:
   ```bash
   lsof /mnt/myfilesystem
   ```

5. **Monitoring Users&#039; Activity:**
   Administrators can use `lsof` to monitor users&#039; activity by checking which files or sockets processes are accessing.

   Example: To list all files opened by a specific user (replace &quot;username&quot; with the actual username):
   ```bash
   lsof -u username
   ```

6. **Finding Processes Using a Port:**
   You can use `lsof` to identify which processes are using a specific port, which is helpful when debugging network-related issues.

   Example: To find processes using port 8080:
   ```bash
   lsof -i :8080
   ```

7. **Checking Shared Libraries:**
   `lsof` can help you identify which processes have certain shared libraries loaded.

   Example: To find processes using a specific shared library (replace &quot;libname.so&quot; with the library name):
   ```bash
   lsof /path/to/libname.so
   ```

Remember that using the `lsof` command often requires superuser (root) privileges to access information about all processes. Always exercise caution and ensure you have the necessary permissions before running `lsof`.]]></description>
			<content:encoded><![CDATA[<p>The `lsof` command in Linux is used to list open files and network sockets associated with running processes. It&#8217;s a powerful tool that provides insights into which files and sockets processes have opened, which can be useful for troubleshooting, monitoring, and analyzing system behavior. Here are some scenarios in which you might want to use the `lsof` command along with examples:</p>
<p>1. **Troubleshooting Processes:**<br />
   You can use `lsof` to identify which processes have certain files open, which can be helpful when diagnosing issues like &#8220;file in use&#8221; errors.</p>
<p>   Example: To find processes that have a specific file named &#8220;example.txt&#8221; open:<br />
   &#8220;`bash<br />
   lsof /path/to/example.txt<br />
   &#8220;`</p>
<p>2. **Monitoring Network Connections:**<br />
   `lsof` can help you monitor network connections and find out which processes are using certain network sockets.</p>
<p>   Example: To list all network sockets in use:<br />
   &#8220;`bash<br />
   lsof -i<br />
   &#8220;`</p>
<p>3. **Checking for Deleted Files:**<br />
   Sometimes, even if a file is deleted, processes might still have it open. `lsof` can reveal such &#8220;deleted but still open&#8221; files.</p>
<p>   Example: To find deleted files that are still open:<br />
   &#8220;`bash<br />
   lsof +L1<br />
   &#8220;`</p>
<p>4. **Identifying Processes Holding a File:**<br />
   If you&#8217;re trying to determine which processes are preventing you from unmounting a filesystem or ejecting a removable device, `lsof` can help.</p>
<p>   Example: To find processes using files on a specific filesystem:<br />
   &#8220;`bash<br />
   lsof /mnt/myfilesystem<br />
   &#8220;`</p>
<p>5. **Monitoring Users&#8217; Activity:**<br />
   Administrators can use `lsof` to monitor users&#8217; activity by checking which files or sockets processes are accessing.</p>
<p>   Example: To list all files opened by a specific user (replace &#8220;username&#8221; with the actual username):<br />
   &#8220;`bash<br />
   lsof -u username<br />
   &#8220;`</p>
<p>6. **Finding Processes Using a Port:**<br />
   You can use `lsof` to identify which processes are using a specific port, which is helpful when debugging network-related issues.</p>
<p>   Example: To find processes using port 8080:<br />
   &#8220;`bash<br />
   lsof -i :8080<br />
   &#8220;`</p>
<p>7. **Checking Shared Libraries:**<br />
   `lsof` can help you identify which processes have certain shared libraries loaded.</p>
<p>   Example: To find processes using a specific shared library (replace &#8220;libname.so&#8221; with the library name):<br />
   &#8220;`bash<br />
   lsof /path/to/libname.so<br />
   &#8220;`</p>
<p>Remember that using the `lsof` command often requires superuser (root) privileges to access information about all processes. Always exercise caution and ensure you have the necessary permissions before running `lsof`.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Java socket programming Tutorial &#8211; How to code Client and Server by jay pawar		</title>
		<link>https://www.binarytides.com/java-socket-programming-tutorial/comment-page-1/#comment-357266</link>

		<dc:creator><![CDATA[jay pawar]]></dc:creator>
		<pubDate>Mon, 17 Jul 2023 04:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=2206#comment-357266</guid>

					<description><![CDATA[Thanks for sharing this information It is helpful information]]></description>
			<content:encoded><![CDATA[<p>Thanks for sharing this information It is helpful information</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on 40+ Useful Php tips for beginners &#8211; Part 1 by Jazz Gill		</title>
		<link>https://www.binarytides.com/35-techniques-to-enhance-your-php-code/comment-page-1/#comment-357099</link>

		<dc:creator><![CDATA[Jazz Gill]]></dc:creator>
		<pubDate>Thu, 13 Jul 2023 06:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1593#comment-357099</guid>

					<description><![CDATA[A top-of-the-line hiring platform, Lavorg has more than 1250+ remote developers and programmers available for hire right now!]]></description>
			<content:encoded><![CDATA[<p>A top-of-the-line hiring platform, Lavorg has more than 1250+ remote developers and programmers available for hire right now!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
