- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No of 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
Forums
Discussions
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
08-11-2004 03:54 AM
08-11-2004 03:54 AM
No of CPU
From which command i may know how many CPU on my system.
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 03:56 AM
08-11-2004 03:56 AM
Re: No of CPU
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 03:56 AM
08-11-2004 03:56 AM
Re: No of CPU
One way to do it:
ioscan -fnC processor
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 03:59 AM
08-11-2004 03:59 AM
Re: No of CPU
# dmesg|grep processor
160 processor
166 processor
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 04:05 AM
08-11-2004 04:05 AM
Re: No of CPU
echo processor_count/D | adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2}'
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 04:20 AM
08-11-2004 04:20 AM
Re: No of CPU
# grep processor /var/adm/syslog/syslog.log
Jul 30 14:37:42 hpatcux9 vmunix: 120 processor
Jul 30 14:37:42 hpatcux9 vmunix: 121 processor
Jul 30 14:37:42 hpatcux9 vmunix: 122 processor
Jul 30 14:37:42 hpatcux9 vmunix: 123 processor
This shows my system is a 4-way system. One thing these commands doesn't take into account is "deactivated" CPUs. For this reason, I typically use crashinfo to get CPU information. On my server, crashinfo shows:
System Name : HP-UX
Node Name : hpatcux9
Model : server rx5670
HP-UX version : B.11.23
Number of CPU's : 4
Disabled CPU's : 0
CPU type : IA64 (999 Mhz)
CPU Architecture : IA-64 0
Load average : 0.07 0.02 0.01
I get the number of CPUs, the number of disabled CPUs, the type, architecture, and speed of the CPUs.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 04:24 AM
08-11-2004 04:24 AM
Re: No of CPU
SAM -> Performance monitor -> System properties : view the processor section
Regards,
Jean-Luc