HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pstat_getlwp()
Operating System - HP-UX
1833381
Members
3528
Online
110052
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
Forums
Discussions
Discussions
Discussions
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
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
04-30-2003 09:21 PM
04-30-2003 09:21 PM
pstat_getlwp()
My application has pstat_getlwp(). When I compile it on HP11i, then the executable fails to run on HP 11.0. Is that something expected??? How can I make it work???
Please help - Thanks
Please help - Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 09:57 PM
04-30-2003 09:57 PM
Re: pstat_getlwp()
Hi,
For good performance and better results you always need to compile when you change the HP-UX version. And specially when you move down wards.
Recompile the application on 11.00 to make it working.
Rajeev
For good performance and better results you always need to compile when you change the HP-UX version. And specially when you move down wards.
Recompile the application on 11.00 to make it working.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2003 07:17 AM
05-02-2003 07:17 AM
Re: pstat_getlwp()
HP-UX compatibility rules never guarantee that you can run an application compiled on one release on an older release.
In the case of pstat_getlwp(), the addition of things like processor sets changed the definition of struct lwp_status between the two releases. HP-UX 11.00 could not know how to fill in the new fields (lwp_fss and later) since they were not defined in that release.
As previously suggested, the right way to do this is to compile on the older release. In the vast majority of cases the binary will then run on both the older and newer releases.
In the case of pstat_getlwp(), the addition of things like processor sets changed the definition of struct lwp_status between the two releases. HP-UX 11.00 could not know how to fill in the new fields (lwp_fss and later) since they were not defined in that release.
As previously suggested, the right way to do this is to compile on the older release. In the vast majority of cases the binary will then run on both the older and newer releases.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP