<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I can not delete a file (System says &amp;quot;busy&amp;quot;) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981862#M294458</link>
    <description>Hi,&lt;BR /&gt;if you know which process and you are ceratin you do not need that data, yes.&lt;BR /&gt;&lt;BR /&gt;I would recommend lsof:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;to identify the process for certain.&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
    <pubDate>Mon, 16 Apr 2007 03:14:20 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2007-04-16T03:14:20Z</dc:date>
    <item>
      <title>I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981861#M294457</link>
      <description>System gives me that file was busy.From this reason I can not delete that file.&lt;BR /&gt;&lt;BR /&gt;How can I learn which process is holding that file.&lt;BR /&gt;&lt;BR /&gt;Is it enought to kill that process to unlock the file?&lt;BR /&gt;&lt;BR /&gt;thanks?</description>
      <pubDate>Mon, 16 Apr 2007 03:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981861#M294457</guid>
      <dc:creator>cbozlagan</dc:creator>
      <dc:date>2007-04-16T03:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981862#M294458</link>
      <description>Hi,&lt;BR /&gt;if you know which process and you are ceratin you do not need that data, yes.&lt;BR /&gt;&lt;BR /&gt;I would recommend lsof:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;to identify the process for certain.&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Mon, 16 Apr 2007 03:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981862#M294458</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-04-16T03:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981863#M294459</link>
      <description>Use fuser command to see what is process. Another options is lsof &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 16 Apr 2007 03:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981863#M294459</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-04-16T03:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981864#M294460</link>
      <description>fuser /filename&lt;BR /&gt;&lt;BR /&gt;then check man on fuser because it offers certain switches to kill the process however you can run various ps commands on the output from fuser:&lt;BR /&gt;&lt;BR /&gt;fuser /&lt;FILENAME&gt;&lt;BR /&gt;23450c&lt;BR /&gt;&lt;BR /&gt;ps -ef |grep 23450&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;check out the man pages.&lt;/FILENAME&gt;</description>
      <pubDate>Mon, 16 Apr 2007 03:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981864#M294460</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2007-04-16T03:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981865#M294461</link>
      <description>You can use fuser or lsof.&lt;BR /&gt;Yes, once you kill the process the file shouldn't be busy.&lt;BR /&gt;&lt;BR /&gt;Note if the file is an executable or shared lib, ps(1) will show who is running that program.&lt;BR /&gt;&lt;BR /&gt;If the file is being executed, you can "move" it aside, without killing the process(es):&lt;BR /&gt;(Assuming you want to replace the file:&lt;BR /&gt;$ cp /path-to-new-file/file file.new&lt;BR /&gt;$ ln file file.old&lt;BR /&gt;$ ln -f file.new file&lt;BR /&gt;$ rm -f file.new</description>
      <pubDate>Mon, 16 Apr 2007 03:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981865#M294461</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-16T03:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981866#M294462</link>
      <description>I think the only time you get this message is when the file in question is an executable that is running (or possibly a library file), in which case it should be easy to spot the name in the 'ps -ef' listing.  &lt;BR /&gt;&lt;BR /&gt;For ordinary files that are in use, you can 'rm' them, and when the last process using the file dies, the space is freed; you don't get a message about the file being busy.&lt;BR /&gt;&lt;BR /&gt;What's the filename, the actual command you are running, and the exact error message?&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Tue, 17 Apr 2007 05:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981866#M294462</guid>
      <dc:creator>Andrew Merritt_2</dc:creator>
      <dc:date>2007-04-17T05:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: I can not delete a file (System says "busy")</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981867#M294463</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;Check process id using&lt;BR /&gt;ps -ef|grep file name&lt;BR /&gt;&lt;BR /&gt;then use kill command like&lt;BR /&gt;kill -9 id&lt;BR /&gt;&lt;BR /&gt;and Remove file by using rm command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Khalid</description>
      <pubDate>Tue, 17 Apr 2007 06:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/i-can-not-delete-a-file-system-says-quot-busy-quot/m-p/3981867#M294463</guid>
      <dc:creator>Khalid Shakoor</dc:creator>
      <dc:date>2007-04-17T06:28:03Z</dc:date>
    </item>
  </channel>
</rss>

