- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: monitor open files in the system
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
тАО05-30-2001 01:18 AM
тАО05-30-2001 01:18 AM
i had a problem in hp-ux 11.00 with 4 g.b memory.
got file : table is full .
i increase the size of the nfile and ninode .
i m looking for a way to monitor the open files in my system .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 01:26 AM
тАО05-30-2001 01:26 AM
Re: monitor open files in the system
find the process id (pid) attached to the file i.e
# fuser /.../file
then use glance (which I hope you have!)
when in glance type F (shift+f) then enter the pid
Good luck
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 02:06 AM
тАО05-30-2001 02:06 AM
Re: monitor open files in the system
if you just want to monitor the amount of open files, then use:
sar -v 1 1
this will show ninode, nfiles and nproc usage.
if you really want to view which files are in use then go for "lsof".
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 02:17 AM
тАО05-30-2001 02:17 AM
Re: monitor open files in the system
thanks for the help .
i m replying because i heard about a tool that can do it ls somthing but cant remember .
but the sar is also good .
if anybody have a clue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 03:57 AM
тАО05-30-2001 03:57 AM
Re: monitor open files in the system
add your crontab file with a raw like this :
0 * * * * /usr/lbin/sa/sa1 1200 3.
Then you are able to monitor also the history of nfile and his max value with sar -v.
Create dir /var/adm/sa, the output dir of sa1.
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 04:44 AM
тАО05-30-2001 04:44 AM
Re: monitor open files in the system
$LSOF_HOME/lsof +D {FULLPATH_DIRECTORY_NAME}
Tony