- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to kill
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 12:19 PM
тАО08-31-2001 12:19 PM
how to kill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 12:23 PM
тАО08-31-2001 12:23 PM
Re: how to kill
Before you kill anything, make sure that you (or no one else) is CD'd into the mountpoint:
# fuser -cu
This is a common reason for not being able to unmount.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 12:25 PM
тАО08-31-2001 12:25 PM
Re: how to kill
#bdf /cdrom
/dev/dsk/c0t2d0 12121 121 1212 60% /cdrom
List the processes that are using this.
#fuser /dev/dsk/c0t2d0
Kill them all with a single shot
#fuser -k /dev/dsk/c0t2d0
Make sure there are no more processes
#fuser /dev/dsk/c0t2d0
Some processes will not die immediately. So wait for few seconds
#umount /cdrom
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 01:36 PM
тАО08-31-2001 01:36 PM
Re: how to kill
Before you kill soemone, try this.
fuser -cu /cdrom
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
fuser -ck /cdrom
This will kill all the processes using /cdrom directory. Then you should be able to unmount the cdrom
umount /cdrom
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 03:35 PM
тАО08-31-2001 03:35 PM
Re: how to kill
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:
http://wuarchive.wustl.edu/packages/security/lsof/binaries/hpux/
With it, you can do a "lsof | grep cdrom" and it will display every process that has /cdrom open.