- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Standard method to retrieve processor speed on...
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
тАО09-01-2009 05:51 AM
тАО09-01-2009 05:51 AM
Standard method to retrieve processor speed on HPUX 11.31
adb and itick_per_usec/D combination don't always yield the same results as machinfo for retrieving processor speed. On HPUX 11.23, there was a known issue around this and a patch available as well. What about HPUX 11.31? I'd like to know what's the standard method to retrieve processor speed on HPUX by using a command other than adb. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 05:56 AM
тАО09-01-2009 05:56 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
# machinfo
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:10 AM
тАО09-01-2009 08:10 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
The older version of machinfo used to return results that were straightforward to parse but thats not the case anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:16 AM
тАО09-01-2009 08:16 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
> The older version of machinfo used to return results that were straightforward to parse but thats not the case anymore.
Anything is parseable. Please post your output.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:40 AM
тАО09-01-2009 08:40 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
Following are the first few lines of machinfo output i'm intersted in:
------------
CPU info:
1 PA-RISC 8800 processor (1 GHz, 64 MB)
CPU version 5
2 logical processors (2 per socket)
------------
Looking at these, i'll have to search for "GHz" and extract the digits backwards till i encounter a "(". Isn't there a cleaner method on HPUX, say, a command invocation with some parameters that return the Processor Speed, e.g., using getconf etc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:48 AM
тАО09-01-2009 08:48 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:50 AM
тАО09-01-2009 08:50 AM
Re: Standard method to retrieve processor speed on HPUX 11.31
Given your last post, you might do:
# machinfo | perl -nle 'm{processor\s*\(\s*(\d+\s*GHz)}i and print $1'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 08:56 AM
тАО09-01-2009 08:56 AM