- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How I can know the files opens ?? (nfile)
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
10-14-2003 03:52 AM
10-14-2003 03:52 AM
Is there any way to know what files are openned??, for example I can do:
# sar -v 1 5
HP-UX hp9sap01 B.11.00 U 9000/800 10/14/03
17:50:12 text-sz ov proc-sz ov inod-sz ov file-sz ov
17:50:13 N/A N/A 400/4224 0 3945/24576 0 17627/24586 0
17:50:14 N/A N/A 402/4224 0 3957/24576 0 17632/24586 0
17:50:15 N/A N/A 409/4224 0 3967/24576 0 17646/24586 0
17:50:16 N/A N/A 410/4224 0 3976/24576 0 17656/24586 0
17:50:17 N/A N/A 401/4224 0 3978/24576 0 17630/24586 0
but is there any way to know what files are openned last of the 17680 files opened??? or what process is spend all this opened files??
Thanks!!!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 03:54 AM
10-14-2003 03:54 AM
Re: How I can know the files opens ?? (nfile)
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/
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
10-14-2003 03:55 AM
10-14-2003 03:55 AM
Re: How I can know the files opens ?? (nfile)
I belive this available on the ports archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 03:56 AM
10-14-2003 03:56 AM
Re: How I can know the files opens ?? (nfile)
If you want to know which process what files holds, the use lsof as suggested.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 03:58 AM
10-14-2003 03:58 AM
Re: How I can know the files opens ?? (nfile)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:18 AM
10-14-2003 04:18 AM
Re: How I can know the files opens ?? (nfile)
I have try to down lsof from this page but its only for 32 bits and I have a system HP-UX 11.00 64 bits.... Is there other wayt to down it for 64 bits??
Thanks!!
Carmen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:21 AM
10-14-2003 04:21 AM
Re: How I can know the files opens ?? (nfile)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:25 AM
10-14-2003 04:25 AM
Re: How I can know the files opens ?? (nfile)
Enjoy
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:29 AM
10-14-2003 04:29 AM
Re: How I can know the files opens ?? (nfile)
programs that has to be compiled to the target system
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:36 AM
10-14-2003 04:36 AM
Re: How I can know the files opens ?? (nfile)
I have unshar the file, and it shows error:
(my server its 11.00 no 11.11)
f# /usr/local/bin/lsof
lsof: WARNING: compiled for HP-UX release B.11.11; this is B.11.00.
lsof: FATAL: pst_status_size should be: 1176; is 920
lsof: FATAL: pst_vminfo_size should be: 1240; is 1096
lsof: FATAL: pst_static doesn't contain pst_filedetails_size
lsof: FATAL: pst_static doesn't contain pst_socket_size
lsof: FATAL: pst_static doesn't contain pst_stream_size
lsof: FATAL: pst_static doesn't contain pst_mpathnode_size
lsof: FATAL: pst_static doesn't contain pst_fileinfo2_size
and the other link... I don't know how installed it?, maybe I have to compile it?
Thanks!!
Carmen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:41 AM
10-14-2003 04:41 AM
Solutionhttp://hpux.cs.utah.edu/
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2003 04:45 AM
10-14-2003 04:45 AM
Re: How I can know the files opens ?? (nfile)
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/vxfs/64/9000_800/
I'm note sure about the porting and archive (if it's 32 or 64 bit). But I think the above link is 64 bit.
HTH
-- Rod Hills