<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Explore &#187; fuser</title>
	<atom:link href="https://blog.linuxexplore.com/tag/fuser/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.linuxexplore.com</link>
	<description>Exploring Linux</description>
	<lastBuildDate>Mon, 07 Apr 2014 00:30:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>All about Fuser in LINUX</title>
		<link>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 19:24:24 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[fuser]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=499</guid>
		<description><![CDATA[The fuser utility in Linux is a powerful tool. As the name suggests it gives information about file user or the process that is currently using the file or directory. But fuser functionality is not just limited to giving information about the process. The article explains how to use fuser utility with 5 practical examples.&#8230;]]></description>
				<content:encoded><![CDATA[<p>The fuser utility in Linux is a powerful tool. As the name suggests it gives information about file user or the process that is currently using the file or directory.</p>
<p>But fuser functionality is not just limited to giving information about the process. The article explains how to use fuser utility with 5 practical examples.</p>
<h3>1. Who is Using a File or Directory?</h3>
<p>This is the basic use of fuser command. i.e to Identify which processes are using a particular file or directory.</p>
<pre>$ fuser  .
./:                   3965c  4175c  4281c  4334c  4337c</pre>
<p><a href="http://www.intowire.com/iWiRE/blog/view/38608/all-about-fuser-in-linux#.UBLppEQG8vU.wordpress" target="_blank">Read full story</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Umount a busy partition</title>
		<link>https://blog.linuxexplore.com/2010/04/24/fuser/</link>
		<comments>https://blog.linuxexplore.com/2010/04/24/fuser/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 18:29:49 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[busy partition]]></category>
		<category><![CDATA[fuser]]></category>
		<category><![CDATA[umount]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=212</guid>
		<description><![CDATA[Check &#38; close the applications which are using any mounted partition or folder If you are using a separate partition for your applications, you need to mount that partition to a folder. Then only you can store &#38; run the application. But if you want to umount that partition again, first you need to close&#8230;]]></description>
				<content:encoded><![CDATA[<h2>Check &amp; close the applications which are using any mounted partition or folder</h2>
<p>If you are using a separate partition for your applications, you need to mount that partition to a folder. Then only you can store &amp; run the application. But if you want to umount that partition again, first you need to close all the applications which are using that mounted partition or folder.</p>
<p>To check all the application running from that partition or folder, just issue a simple command:</p>
<pre>fuser -mv</pre>
<p>or</p>
<pre>fuser -mv</pre>
<p>For example:</p>
<pre>fuser -mv /dev/sda1</pre>
<p>or</p>
<pre>fuser -mv /usr/local/bin</pre>
<p>The above commands can show the output as follows:</p>
<pre style="padding-left:150px;">USER        PID ACCESS COMMAND</pre>
<pre>/dev/sda1:         root       2467 .rce. mingetty</pre>
<pre style="padding-left:150px;">root       2476 .rce. mingetty</pre>
<pre style="padding-left:150px;">root       2502 .rc.. kauditd</pre>
<pre style="padding-left:150px;">root       2506 .rce. sshd</pre>
<pre style="padding-left:150px;">root       2509 .rce. bash</pre>
<p>You can also use the following command:</p>
<pre>fuser -mv /dev/sda1 &gt; /tmp/sda1.pids</pre>
<p>It will store the PIDs of all application running from &#8216;/dev/sda1&#8242; partition.</p>
<p>Now you can simply issue the &#8216;kill&#8217; command to close all the applications forcefully.</p>
<pre>kill -9 `cat /tmp/sda1.pids`</pre>
<p>It will free the partition /dev/sda1 to umount.</p>
<p><strong><span style="color:#ff0000;"> WARNING!!!</span></strong></p>
<p>Don’t use this method on active partitions, it can cause the OS failure. But after reboot it may be recovered.<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2010/04/24/fuser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
