- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- When pstat_getdynamic( ) function returns -1, Wha...
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
Discussions
Discussions
Forums
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
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
тАО02-05-2009 02:37 AM
тАО02-05-2009 02:37 AM
When pstat_getdynamic( ) function returns -1, What it means
1.)I just want to know what does
pstat_getdynamic()function do.
2.)I have statement
struct pst_dynamic pstat_dyn;
rc=pstat_getdynamic(&pstat_dyn,sizeof(struct
pst_dynamic),1,0);
Here rc is equal to -1 what does it mean.
why it is returing -1 value.
Any help is Appreciated.
Regards,
Gopi
- Tags:
- pstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 02:42 AM
тАО02-05-2009 02:42 AM
Re: When pstat_getdynamic( ) function returns -1, What it means
A return code of -1 signifies a failure. The reason for the failure can be found in 'errno'. If you report 'errno' you can easily examine the 'pstat()' manpages to gain further insight into the reason for the error. See the "ERRORS" section of the manpages.
http://docs.hp.com/en/B2355-60130/pstat.2.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 02:54 AM
тАО02-05-2009 02:54 AM
Re: When pstat_getdynamic( ) function returns -1, What it means
I want to know, what does this pstat_getdynamic( ) function do. Can u provide any link which gives a detail info.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 02:57 AM
тАО02-05-2009 02:57 AM
Re: When pstat_getdynamic( ) function returns -1, What it means
> I want to know, what does this pstat_getdynamic( ) function do.
That's described in the manpages (in the link I provided).
http://docs.hp.com/en/B2355-60130/pstat.2.html
You might also find this whitepaper useful:
http://docs.hp.com/en/1216/pstat_whitepaper.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 02:59 PM
тАО02-11-2009 02:59 PM
Re: When pstat_getdynamic( ) function returns -1, What it means
Optimizing Applications for Virtualized Environments on HP Integrity
and HP9000 servers running HP-UX
http://docs.hp.com/en/9450/vse_tips_for_application_developers.pdf
This whitepaper may help you, too.
Shinji