- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: files used by a user
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
06-06-2001 11:16 PM
06-06-2001 11:16 PM
files used by a user
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2001 11:24 PM
06-06-2001 11:24 PM
Re: files used by a user
You need to download and install lsof, then the command;
lsof | grep
lists all their open files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2001 11:47 PM
06-06-2001 11:47 PM
Re: files used by a user
Lsof will identify the files currently in use by a user, but you wish to identify files opened over a period of time.
Stefan's command will work but needs to be in a small script that will run it - say every 20 seconds and pipe the output to a file.
Put the script in the users .profile and it will monitor what files they open.
Two problems:-
1. Load and disks space.
2. Your sleep in the script could allow a file to be opened and closed during the sleep period.
Just an Idea
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 01:07 AM
06-07-2001 01:07 AM
Re: files used by a user
You can find documentation on http://docs.hp.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 01:52 AM
06-07-2001 01:52 AM
Re: files used by a user
Thanks
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 04:23 AM
06-07-2001 04:23 AM
Re: files used by a user
You have to make lsof yourself because an 64bit
lsof executable is not available, but it's all good documented how to do that.
Wietze Sikkens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 04:37 AM
06-07-2001 04:37 AM
Re: files used by a user
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x07980559ff7cd4118fef0090279cd0f9,00.html