- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Check which process call a file
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
Forums
Discussions
Discussions
Discussions
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
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
11-18-2002 06:11 PM
11-18-2002 06:11 PM
How can I determine which process call a file ( it is share library)?. when I used fuser command, it is only list user used this file, not process.
Thank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:20 PM
11-18-2002 06:20 PM
Solutionfuser -u
check for the u option of fuser.
If this is not helpful,then you should use the lsof utility.
grab the lsof for 64 bit from here
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
32 bit is here
http://hpux.connect.org.uk
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:29 PM
11-18-2002 06:29 PM
Re: Check which process call a file
Unfortunately 'fuser' is not very good. As suggested, get hold of the 'lsof' tool. Below are some example on it's usage.
To which files are open for a given process id (pid)
# lsof -p
To see all the open files associated with a particular command.
# lsof -c midaemon
User name.
# lsof -u
# lsof -u
processes being used via a socket.
# lsof -i tcp:23
# lsof -i udp:123
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:44 PM
11-18-2002 06:44 PM
Re: Check which process call a file
fuser is a childs toy compared to
lsof
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:50 PM
11-18-2002 06:50 PM
Re: Check which process call a file
Here's some other links to where you can get 'lsof'.
64 bit
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
32 bit
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 06:04 PM
11-19-2002 06:04 PM