<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ram Tripathi on Medium]]></title>
        <description><![CDATA[Stories by Ram Tripathi on Medium]]></description>
        <link>https://medium.com/@ramtripathi?source=rss-8a49ef916eb8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YMtuIqyuvEYtF_XP.</url>
            <title>Stories by Ram Tripathi on Medium</title>
            <link>https://medium.com/@ramtripathi?source=rss-8a49ef916eb8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 12:27:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramtripathi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Health Check Python Script]]></title>
            <link>https://medium.com/@ramtripathi/health-check-python-script-fb2be87dc14e?source=rss-8a49ef916eb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb2be87dc14e</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Ram Tripathi]]></dc:creator>
            <pubDate>Wed, 10 Jun 2020 07:40:12 GMT</pubDate>
            <atom:updated>2020-06-10T07:40:12.405Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>This article is about checking disk and memory usage of a system.</strong></p><blockquote>import shutil<br>import psutil</blockquote><p><strong>#Install these library if not present. Recommended pip install</strong></p><p><strong># For Disk Usage</strong></p><blockquote>du=shutil.disk_usage(“/”)</blockquote><blockquote><strong># “/” root directory</strong><br>used=(du.used/du.total)*100</blockquote><blockquote># <strong>du.used give used memory and so du.total #gives total memory and du.free gives free memory</strong></blockquote><blockquote>print(“Used Disk :{:.2f} %”.format(used))</blockquote><blockquote>print(“Available Disk :{:.2f} %”.format(100-used))</blockquote><p><strong>#For Cpu Usage</strong></p><blockquote>for i in range(50):</blockquote><blockquote>pu=psutil.cpu_percent(0.5)</blockquote><p><strong>#argument inside cpu_percent is seconds to check health check after every #0.5 second</strong></p><blockquote>print(pu)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb2be87dc14e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SR-IOV in OPENSTACK]]></title>
            <link>https://medium.com/@ramtripathi/sr-iov-in-openstack-ab4878c33cf3?source=rss-8a49ef916eb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab4878c33cf3</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[openstack]]></category>
            <dc:creator><![CDATA[Ram Tripathi]]></dc:creator>
            <pubDate>Thu, 21 May 2020 07:51:43 GMT</pubDate>
            <atom:updated>2020-05-21T07:51:43.394Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Abbreviation at the end of article.</blockquote><h3>SR-IOV</h3><p>Is a specification that defines a mechanism to virtualize PCIe devices. It can virtualize single PCIe device to appear as multiple devices.</p><p>Each Virtual PCIe device can be directly attached to VM, bypassing hypervisor and virtual switch layer to achieve low latency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/0*yidCR_0pjpucmX67.png" /><figcaption>Source Internet</figcaption></figure><blockquote>Abbreviations:</blockquote><p>SR-IOV : Single Root Input Output Virtualization.</p><p>PCIe : Peripheral Interconnect Component Express.</p><p>VM : Virtual Machine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab4878c33cf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internet not working in Linux]]></title>
            <link>https://medium.com/@ramtripathi/internet-not-working-in-linux-b2ee602a7fb3?source=rss-8a49ef916eb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2ee602a7fb3</guid>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Ram Tripathi]]></dc:creator>
            <pubDate>Wed, 20 May 2020 04:57:42 GMT</pubDate>
            <atom:updated>2020-05-20T04:57:42.239Z</atom:updated>
            <content:encoded><![CDATA[<p>Even after installing Linux operating system or Linux Virtual Machine(VM), not able to connect to internet.</p><p>Case 1 : For Linux in Virtual Machine.</p><p>STEP 1:</p><p>Check for network connection in setting of VM image or instance(you can refer it as instance). There would be many options like Bridged, NAT, Host only, Custom, etc..</p><p>Prefer NAT and select NAT in networks.</p><p>STEP 2:</p><p>Open Terminal in your linux machine. Switch to root user.</p><blockquote>Open Network Manager by command : #nmtui</blockquote><p>A GUI will we opened and now we need to activate the connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/0*hs0nSq1IZ00R6jLk.png" /></figure><p>Choose the connection type and Activate it and then go back and exit.</p><p>Note: Mostly you will find something eth0, eth1 or virbr0, virbr1, so choose accordingly.</p><blockquote>You can see your connection type by typing in terminal: #ip addr</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/0*Xs-B77W38DbStIct.png" /></figure><p>Case 2: For Linux machine not installed in VM.</p><p>Directly jump to step 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2ee602a7fb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>