- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- open files per process
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
08-28-2001 10:06 AM
08-28-2001 10:06 AM
process ID # of open files
==============================
123 100
44356 50
etc...
Any help would be appreciated. Thanks!!!
Quin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:14 AM
08-28-2001 10:14 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:18 AM
08-28-2001 10:18 AM
Re: open files per process
You can get lsof from this following site.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
I don't know whether there is a depot for 11.0 but you can compile it from the source code.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:26 AM
08-28-2001 10:26 AM
Re: open files per process
You can use 'sar -v 10 5' to report the process, inode and file table sizes as defined along with their high-water mark and the number of times they have overflowed.
In the example above, 5-samples will be taken, one every 10-seconds. See 'man sar' for more details.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 10:29 AM
08-28-2001 10:29 AM
Re: open files per process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 06:51 PM
08-28-2001 06:51 PM
Re: open files per process
nfile is usually too small out of the box, but the correct value might be 500 in a small system, 5000 in a medium system and 60000 on a large system.
Note: ulimit is documented in sh-posix, the preferred shell for all users including root.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 03:09 AM
08-29-2001 03:09 AM
Re: open files per process
Consider the glance with -F and PID giving the following result ( in your example ) :
123 100
The script would be :
for i in `ps -ef ? awk '{print $2}'`
do
#will give you the process ( command )name
ps -ef ? grep $i ? grep -v grep ? awk '{print $8}'`
#will report the open files
glance -F $i
done
Magdi
Will give you a list of all process and their