- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Open files !
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-06-2009 06:55 AM
тАО05-06-2009 06:55 AM
How to check the total no. of open files in the hp-ux box ?
Thanks in advance
Titu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 07:11 AM
тАО05-06-2009 07:11 AM
SolutionInstall gpm the gui portion of glance.
gpm has a high water mark that can show use of files.
Or:
http://www.docs.hp.com/en/B1171-90101/ch05s40.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 07:11 AM
тАО05-06-2009 07:11 AM
Re: Open files !
lsof | wc -l
yet ?
you might need to use additional commands in the pipe to exclude some files or applications but this should give you a starting point.
{lsof=list open files as name implies)
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 07:13 AM
тАО05-06-2009 07:13 AM
Re: Open files !
To know the number of open use this command.
#sar -v 2 2
HP-UX hpserver B.11.11 U 9000/800 05/06/09
15:10:58 text-sz ov proc-sz ov inod-sz ov file-sz ov
15:11:00 N/A N/A 300/4096 0 4164/8192 0 7897/32778 0
15:11:02 N/A N/A 300/4096 0 4164/8192 0 7897/32778 0
here it is 7897 out of it's maximum 32778(nfile value)
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 07:16 AM
тАО05-06-2009 07:16 AM
Re: Open files !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 09:51 AM
тАО05-06-2009 09:51 AM
Re: Open files !
Is there any way to check which process has open which file.
Any way to track individual process has opened how many files ?
Thanks in advance.
Titu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 10:02 AM
тАО05-06-2009 10:02 AM
Re: Open files !
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/man.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 11:03 AM
тАО05-06-2009 11:03 AM