- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nkthread
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
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
12-07-2006 05:39 PM
12-07-2006 05:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 08:06 PM
12-07-2006 08:06 PM
Solutionand welcome to the forums !
Please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=940966
If you want to read about performance:
h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 08:57 PM
12-07-2006 08:57 PM
Re: nkthread
But this does not work on 11.00
cc aaa.c
(Bundled) cc: "aaa.c", line 12: error 1588: "psd_numkthreadsallocd" undefined.
(Bundled) cc: "aaa.c", line 12: error 1531: Invalid member of struct or union.
(Bundled) cc: "aaa.c", line 13: error 1588: "psd_maxkthreads" undefined.
(Bundled) cc: "aaa.c", line 13: error 1531: Invalid member of struct or union.
(Bundled) cc: "aaa.c", line 14: error 1588: "psd_numprocsallocd" undefined.
(Bundled) cc: "aaa.c", line 14: error 1531: Invalid member of struct or union.
(Bundled) cc: "aaa.c", line 15: error 1588: "psd_maxprocs" undefined.
(Bundled) cc: "aaa.c", line 15: error 1531: Invalid member of struct or union.
cat aaa.c
#include
#include
#include
int main()
{
struct pst_dynamic dyn;
int error;
if ( pstat_getdynamic( &dyn, sizeof(dyn), 1, 0) == 1 )
{
printf("Thread usage: %d of %d\n", dyn.psd_numkthreadsallocd,
dyn.psd_maxkthreads);
printf("Proc usage: %d of %d\n", dyn.psd_numprocsallocd,
dyn.psd_maxprocs);
}
else
perror("pstat_getdynamic:");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2006 04:27 AM
12-08-2006 04:27 AM
Re: nkthread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2006 04:42 AM
12-08-2006 04:42 AM
Re: nkthread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=793765&admit=-682735245+1165598194600+28353475
Andy