- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- qurey regarding file descriptor?
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
09-30-2004 08:43 PM
09-30-2004 08:43 PM
qurey regarding file descriptor?
I have a query regarding File descriptor
as i know that max. no. of file descriptor a hp system supports is mentioned in system file(kernel parameter) correct me if i am wrong.
now i want to know that how can i know that at a particular time how many file descriptors are open.has max limit been reached? is system send any singal in log file when limit of max. file descriptor has reached.
Pl. put your comments.
Rgds
sanjeev gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 09:08 PM
09-30-2004 09:08 PM
Re: qurey regarding file descriptor?
Now you can have tools :
. lsof can give you the number of files open on your system. It could be scripted to monitor the usage.
. more "professional", but a bit more expensive : glance (gpm) can give you the instant usage of files.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 09:11 PM
09-30-2004 09:11 PM
Re: qurey regarding file descriptor?
Have a look at this link.
http://support.zeus.com/faq/zws/v4/entries/3/os/hpuxfd.html
Hope that clears everythings except how to see no. of FileDescriptors open at a particular. In that case, not sure but may be you try lsof as suggested above.
In case of exceeding the limits you get an error in /var/adm/syslog/syslog.log saying nfile parameter execeeded.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 09:16 PM
09-30-2004 09:16 PM
Re: qurey regarding file descriptor?
if you just want to know the number of open files and its relation to the max number, use, e.g.:
# sar -v 2 10
and pay attention to the file-sz column
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 11:17 PM
09-30-2004 11:17 PM
Re: qurey regarding file descriptor?
nfiles
maxfiles
maxfiles_lim
parameter.
You can view them with kmtune -l -q
kmtune
We can monitor open files limits with vsar tool easily. It is given over,
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,5519,00.html
When the open files limit of max. file descriptor has reached then, we can not start application to use file des. there. It will state error as file system table is full there. "[ENFILE] The system file table is full."
HTH.