- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can mpctl determine the total processors in HP...
Operating System - HP-UX
1753321
Members
6221
Online
108792
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
тАО08-03-2010 09:35 PM
тАО08-03-2010 09:35 PM
Can mpctl determine the total processors in HPUX?
Is there any way to determine the total processors( enabled and disabled )in HPUX?
In addition, is there any way to determine the total cores(enabled and disabled) in HPUX?
by the way, It seems that mpctl and pstat just can determine the enable processors/cores.
In addition, is there any way to determine the total cores(enabled and disabled) in HPUX?
by the way, It seems that mpctl and pstat just can determine the enable processors/cores.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2010 10:36 PM
тАО08-03-2010 10:36 PM
Re: Can mpctl determine the total processors in HPUX?
mpctl(2) sure seems to say it can:
MPC_GETNUMSPUS_SYS This request returns the number of enabled spus ...
I assume mpctl(2) treats a processor as a core.
MPC_GETNUMSPUS_SYS This request returns the number of enabled spus ...
I assume mpctl(2) treats a processor as a core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2010 09:55 PM
тАО08-04-2010 09:55 PM
Re: Can mpctl determine the total processors in HPUX?
Hi Kevin,
sar -Mu 1 5 will get you the processors available in the system.
If you have glance, you can get more detailed data.
The following command will provide the statistics for each processor in the system including its state (enabled or disabled)
/opt/perf/bin/glance -a
Execute the following to get the number of CPU and cores in the system
# cat myadviser
print GBL_NUM_CPU
print GBL_NUM_CPU_CORE
# /opt/perf/bin/glance -aos ./myadviser
Regards,
Muru
sar -Mu 1 5 will get you the processors available in the system.
If you have glance, you can get more detailed data.
The following command will provide the statistics for each processor in the system including its state (enabled or disabled)
/opt/perf/bin/glance -a
Execute the following to get the number of CPU and cores in the system
# cat myadviser
print GBL_NUM_CPU
print GBL_NUM_CPU_CORE
# /opt/perf/bin/glance -aos ./myadviser
Regards,
Muru
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