- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get the number of CPUs and its frequenc...
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
07-13-2002 07:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2002 07:41 PM
07-13-2002 07:41 PM
Solution1) If you have ignite/UX installed run the command: /opt/ignite/bin/print_manifest
This will give you your CPU and speed information.
2) Go into SAM -> Performance Monitors -> System Information (I think that's right) and you can find the number of CPUs and their speed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2002 09:00 PM
07-13-2002 09:00 PM
Re: How to get the number of CPUs and its frequency of a Multi-CPU system?
If you want to do this from within a script :
To determine the processor speed:
example:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 360
To determine the number of processors in use:
example:
echo "runningprocs/D" | adb -k /stand/vmunix /dev/mem
runningprocs:
runningprocs: 2
Hope this helps,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2002 09:22 PM
07-13-2002 09:22 PM
Re: How to get the number of CPUs and its frequency of a Multi-CPU system?
sar -M 10 10
in multi-cpus system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2002 12:02 AM
07-14-2002 12:02 AM
Re: How to get the number of CPUs and its frequency of a Multi-CPU system?
take a look into:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe4cb91ccb36bd611abdb0090277a778c,00.html
hth
regards
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2002 06:01 AM
07-14-2002 06:01 AM
Re: How to get the number of CPUs and its frequency of a Multi-CPU system?
For processor speed determination, use:
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
The above command will require 'root' (superuser) privilege.
To deterimine that number of CPUs on a system, you can do:
# /usr/sbin/ioscan -kfnC processor|awk 'END {print NR-2}'
...or:
# sar -M 1 1|awk 'END {print NR-5}'
Either of the above commands can be run by any user.
Regards!
...JRF...