HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sysinfo.h cpu state defines
Operating System - HP-UX
1832506
Members
4931
Online
110043
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
07-18-2002 01:51 PM
07-18-2002 01:51 PM
sysinfo.h cpu state defines
Inside the sysinfo.h file are 5 defines for CPU state:
CPU_IDLE
CPU_USER
CPU_KERNEL
CPU_WAIT
CPU_SXBRK
I can guess the first 3, but can anyone provide some enlightenment on the last 2. I ask because when I call pstat_getprocessor in a 5 second interval I get a CPU_WAIT = 287 out of 502 and a CPU_SXBRK = 193 out of 502 timeslices.
Any help will be gratefully appreciated.
Steven
CPU_IDLE
CPU_USER
CPU_KERNEL
CPU_WAIT
CPU_SXBRK
I can guess the first 3, but can anyone provide some enlightenment on the last 2. I ask because when I call pstat_getprocessor in a 5 second interval I get a CPU_WAIT = 287 out of 502 and a CPU_SXBRK = 193 out of 502 timeslices.
Any help will be gratefully appreciated.
Steven
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 02:03 PM
07-18-2002 02:03 PM
Re: sysinfo.h cpu state defines
Hi Steven:
CPU_WAIT is the time spent by a CPU waiting to acquire a critical resource (lock).
I suspect that CPU_SXBRK value assists in interpreting the number of task context switches versus the CPU_WAIT.
Regards!
...JRF...
CPU_WAIT is the time spent by a CPU waiting to acquire a critical resource (lock).
I suspect that CPU_SXBRK value assists in interpreting the number of task context switches versus the CPU_WAIT.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 02:10 PM
07-18-2002 02:10 PM
Re: sysinfo.h cpu state defines
JRF got the CPU_WAIT but CPU_SXBRK I think is waiting for more memory to be allocated - sbrk(). This is from my own memory and my it may be broke.
If it ain't broke, I can fix that.
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