- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pstat_getproc problem
Operating System - HP-UX
1753427
Members
4807
Online
108793
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
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
тАО09-19-2002 10:16 AM
тАО09-19-2002 10:16 AM
pstat_getproc problem
We have got an application that calls the system call pstat_getproc, and then the application returns the following:
pstat_getproc:Value too large to be stored in data type. We are using HP_UX 11.00, is there any reported error for this system call.
Thanks.
pstat_getproc:Value too large to be stored in data type. We are using HP_UX 11.00, is there any reported error for this system call.
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 10:30 AM
тАО09-19-2002 10:30 AM
Re: pstat_getproc problem
I assume that you are using an array of struct pst_status and are using sizeof(struct pst_status) for your elemsize and the number of elements in your array for elemcount.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 11:41 PM
тАО09-19-2002 11:41 PM
Re: pstat_getproc problem
HP-UX 11.00 supports both 32 and 64 bit processes. If a 32 bit program asks about a 64 bit process, it is possible that the resulting values will be too large to fit in the available space. (For example, a size or address may no longer fit in a 32 bit variable.)
Please see the 11.00 release notes, available in /usr/share/doc, for details on changes to the pstat interfaces. Quoting in part:
pstat(2) provides a number of wrappers and corresponding structures
to get information from the kernel. In a few cases, the values from a
64-bit kernel cannot be returned in 32-bit fields of these structures.
A new error EOVERFLOW is returned.
...
There is much more information available in that section that should be helpful to you.
Please see the 11.00 release notes, available in /usr/share/doc, for details on changes to the pstat interfaces. Quoting in part:
pstat(2) provides a number of wrappers and corresponding structures
to get information from the kernel. In a few cases, the values from a
64-bit kernel cannot be returned in 32-bit fields of these structures.
A new error EOVERFLOW is returned.
...
There is much more information available in that section that should be helpful to you.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP