<?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: how to kill in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573719#M857722</link>
    <description>Chris,&lt;BR /&gt;&lt;BR /&gt;One of the best utilities that you could ever have on a unix system is "lsof". For hp systems you can find 9, 10.20, 11, and 11i versions here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wuarchive.wustl.edu/packages/security/lsof/binaries/hpux/" target="_blank"&gt;http://wuarchive.wustl.edu/packages/security/lsof/binaries/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With it, you can do a "lsof | grep cdrom" and it will display every process that has /cdrom open.</description>
    <pubDate>Fri, 31 Aug 2001 22:35:33 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-08-31T22:35:33Z</dc:date>
    <item>
      <title>how to kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573715#M857718</link>
      <description>i have a /cdrom (mount point) that i can't umount. What do i grep for to kill the processes being held?</description>
      <pubDate>Fri, 31 Aug 2001 19:19:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573715#M857718</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2001-08-31T19:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573716#M857719</link>
      <description>Hi Chris:&lt;BR /&gt;&lt;BR /&gt;Before you kill anything, make sure that you (or no one else) is CD'd into the mountpoint:&lt;BR /&gt;&lt;BR /&gt;# fuser -cu&lt;BR /&gt;&lt;BR /&gt;This is a common reason for not being able to unmount.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 31 Aug 2001 19:23:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573716#M857719</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-31T19:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573717#M857720</link>
      <description>First find out the device file by doing a&lt;BR /&gt;&lt;BR /&gt;#bdf /cdrom&lt;BR /&gt;/dev/dsk/c0t2d0 12121 121 1212 60% /cdrom&lt;BR /&gt;&lt;BR /&gt;List the processes that are using this.&lt;BR /&gt;#fuser  /dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;Kill them all with a single shot&lt;BR /&gt;&lt;BR /&gt;#fuser -k /dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;Make sure there are no more processes&lt;BR /&gt;&lt;BR /&gt;#fuser /dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;Some processes will not die immediately. So wait for few seconds&lt;BR /&gt;&lt;BR /&gt;#umount /cdrom&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 31 Aug 2001 19:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573717#M857720</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-31T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573718#M857721</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Before you kill soemone, try this.&lt;BR /&gt;&lt;BR /&gt;fuser -cu /cdrom&lt;BR /&gt;&lt;BR /&gt;This will list the user(s) who are using the directory, ask them to cd out of it, or logout, else grep for the process run by these user(s), and kill the one using /cdrom , the processes i mean. or you can do&lt;BR /&gt;&lt;BR /&gt;fuser -ck /cdrom&lt;BR /&gt;&lt;BR /&gt;This will kill all the processes using /cdrom directory. Then you should be able to unmount the cdrom&lt;BR /&gt;&lt;BR /&gt;umount /cdrom&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2001 20:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573718#M857721</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-08-31T20:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573719#M857722</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;One of the best utilities that you could ever have on a unix system is "lsof". For hp systems you can find 9, 10.20, 11, and 11i versions here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wuarchive.wustl.edu/packages/security/lsof/binaries/hpux/" target="_blank"&gt;http://wuarchive.wustl.edu/packages/security/lsof/binaries/hpux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With it, you can do a "lsof | grep cdrom" and it will display every process that has /cdrom open.</description>
      <pubDate>Fri, 31 Aug 2001 22:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill/m-p/2573719#M857722</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-31T22:35:33Z</dc:date>
    </item>
  </channel>
</rss>

