- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to determine which directory in a filesyst...
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:26 AM
11-18-2002 06:26 AM
If I have a file system that is being hit with heavy I/O, what is the easiest way to determine what directory/files are being used the most?
TIA,
Sean
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:34 AM
11-18-2002 06:34 AM
SolutionYou can monitor the "byte offset" value for each file and see which files have the most activity.
You can also get the byte offset information using the "lsof" command (see porting and archive).
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:36 AM
11-18-2002 06:36 AM
Re: How to determine which directory in a filesystem is most used.
Try 'glance'. Look at I/O by filesystem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 06:37 AM
11-18-2002 06:37 AM
Re: How to determine which directory in a filesystem is most used.
If you have glance, you can drill down to IO by filesystem (gpm gives the GUI version)
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2002 07:08 PM
11-18-2002 07:08 PM
Re: How to determine which directory in a filesystem is most used.
A silly question:
Does glance and lsof is a add-in feature or build-in feature of OS?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 12:15 AM
11-19-2002 12:15 AM
Re: How to determine which directory in a filesystem is most used.
You can have a 30-days trial version of Glance or you have to buy it from HP.
For lsof, you can download it from
http://hpux.cs.utah.edu/
If you are running 11i, you have to untar the files and compile the program by yourself
i.e. `make install`. Just look at the README and you will have the steps.
syntax : lsof -i tcp:9009
and it will show the process that `hold` this port.
Regards,
Patrick