- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Differentiating between Core and CPU
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
тАО05-14-2009 04:55 AM
тАО05-14-2009 04:55 AM
Differentiating between Core and CPU
I am interested in identifying a core from a physical CPU in HP-UX.
Is there a command which will give me this information?
Will the STM utility give me that information?
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 04:59 AM
тАО05-14-2009 04:59 AM
Re: Differentiating between Core and CPU
STM is not the way to find this out. Each computing core is presented as a processor to the system I/O tree. So if you have a dual core CPU, you will see two instances of "processor" class.
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:04 AM
тАО05-14-2009 05:04 AM
Re: Differentiating between Core and CPU
# ioscan |grep proc
120 processor Processor
121 processor Processor
122 processor Processor
123 processor Processor
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:19 AM
тАО05-14-2009 05:19 AM
Re: Differentiating between Core and CPU
machinfo will show:
processor family:
31 for single core
32 for dual core
PS: 11.31 doesn't seem to show this info though
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:24 AM
тАО05-14-2009 05:24 AM
Re: Differentiating between Core and CPU
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:28 AM
тАО05-14-2009 05:28 AM
Re: Differentiating between Core and CPU
e.g. it will be different for cell based systems when compared to lower-end servers.
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:40 AM
тАО05-14-2009 05:40 AM
Re: Differentiating between Core and CPU
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:47 AM
тАО05-14-2009 05:47 AM
Re: Differentiating between Core and CPU
In looking at the "Information log" for the procs, the "Slot number" distinguishes which cpu cores belong each physical chip.
Two cores have a slot number of 0 and the other 2 cores have a slot number of 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 05:51 AM
тАО05-14-2009 05:51 AM
Re: Differentiating between Core and CPU
#include
main()
{
printf("cpus = %d\n",mpctl(MPC_GETNUMSPUS,0,0));
printf("cores = %d\n",mpctl(MPC_GETNUMCORES_SYS,0,0));
printf("socket = %d\n",mpctl(MPC_GETNUMSOCKETS_SYS,0,0));
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 06:06 AM
тАО05-14-2009 06:06 AM
Re: Differentiating between Core and CPU
Is there any way to get this information through any command ?
Thanks,
Vineet