- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to get all files information thru pstat...
Operating System - HP-UX
1820954
Members
4065
Online
109629
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-21-2008 12:15 AM
тАО02-21-2008 12:15 AM
unable to get all files information thru pstat_getfile2() call
Hi,
i am using the pstat_getfile2() system call to gather information about all files(information like, file name, file type, user id, group id, permission) for every process. But the output does not give all information for each and every file for a process. sometimes the filename and file type can not be shown using the above system call with other syatem calls like pstat_getpathname().
Can anyone guess what would be the problem in showing all file names properly and what is the solution for that.
Regards,
sanjay
i am using the pstat_getfile2() system call to gather information about all files(information like, file name, file type, user id, group id, permission) for every process. But the output does not give all information for each and every file for a process. sometimes the filename and file type can not be shown using the above system call with other syatem calls like pstat_getpathname().
Can anyone guess what would be the problem in showing all file names properly and what is the solution for that.
Regards,
sanjay
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 07:11 AM
тАО02-21-2008 07:11 AM
Re: unable to get all files information thru pstat_getfile2() call
Hi:
This, and your other questions today, suggest that you should look at 'lsof' to (perhaps) gather some of the information you seek. The 'lsof' utility is available from the Porting center:
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=lsof
Regards!
...JRF...
This, and your other questions today, suggest that you should look at 'lsof' to (perhaps) gather some of the information you seek. The 'lsof' utility is available from the Porting center:
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=lsof
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 02:52 AM
тАО02-22-2008 02:52 AM
Re: unable to get all files information thru pstat_getfile2() call
yeah, the documentation of pstat_getpathname() says that it will return the full pathname of an opened file in buf if it is available in the system cache of recent names looked up (DNLC). In my case i am also not getting pathname for all files. So i think this is the limitation of this system call or OS where we can't fetch all filepath.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP