- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Running Processes using which FileSystem
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
01-28-2005 06:30 PM
01-28-2005 06:30 PM
I have a requirement to know what filesystem are locked/used by which procesess? I know the process name, how I can know, what filesystem bieng used by this process?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 09:15 PM
01-28-2005 09:15 PM
Re: Running Processes using which FileSystem
try the following.
#fuser -cu /
this will give you the process ID and the corresponding user.
after this you can do
#ps -ef|grep
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 09:29 PM
01-28-2005 09:29 PM
Re: Running Processes using which FileSystem
I know this command, but it does not help, as I have to run the command on every FS to see which processes are used. I want the reverse, giving process name/id, and get the FS used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 09:48 PM
01-28-2005 09:48 PM
Re: Running Processes using which FileSystem
You need lsof:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.73/
This does exactly what you require.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2005 04:18 AM
01-29-2005 04:18 AM
SolutionIf you are using the character mode glance, you do a F (capital F), enter the PID number and you see all open files for that process.
If you are using the GUI version, you go to Report -> Process List. Then in the process list window you select the process you want and then go to Reports -> Open Files and you will then see all open files for the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2005 05:25 AM
01-29-2005 05:25 AM
Re: Running Processes using which FileSystem
have a look at "lsof -p" or else use Glance.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2005 05:51 AM
01-29-2005 05:51 AM
Re: Running Processes using which FileSystem
lsof -p
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2005 04:22 PM
01-29-2005 04:22 PM
Re: Running Processes using which FileSystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2005 07:27 PM
01-29-2005 07:27 PM
Re: Running Processes using which FileSystem
lsof is not a standard hpux tool. You'll need to download & install it.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.73/
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 12:41 AM
01-30-2005 12:41 AM
Re: Running Processes using which FileSystem
In addition to using glance and lsof to show you the processes that are using a filesystem, the command fuer will do the same.
On files, running fuser -u
Cheers,
Joseph.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2005 09:54 PM
08-28-2005 09:54 PM