- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpu clock speed
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
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
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-14-2003 05:58 AM
тАО07-14-2003 05:58 AM
Is there a way of determining the cpu clock speed via the command line.
many thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 06:01 AM
тАО07-14-2003 06:01 AM
Solution#!/usr/bin/ksh
BOLD="`tput smso`"
NORMAL="`tput rmso`"
cpu=$(echo itick_per_tick/D | adb /stand/vmunix /dev/kmem | sed -n '2p' | awk '{print $2}' | sed 's/0000$//g')
cpu_num=$(grep -i proc /var/adm/syslog/syslog.log | wc -l)
echo "`hostname` has ${BOLD}$cpu_num${NORMAL} processors at ${BOLD}$cpu${NORMAL} Mhz"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 06:03 AM
тАО07-14-2003 06:03 AM
Re: cpu clock speed
echo "itick_per_usec/D" | adb /stand/vmunix /dev/kmem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 06:04 AM
тАО07-14-2003 06:04 AM
Re: cpu clock speed
Have a look at the following thread :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x662eeea29889d611abdb0090277a778c,00.html
HTH,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 06:05 AM
тАО07-14-2003 06:05 AM
Re: cpu clock speed
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 06:29 AM
тАО07-14-2003 06:29 AM
Re: cpu clock speed
It gives you some additional settings as well....
Here's a sample output:
HP-UX system3 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 1008 MB
maxuprc: 800
maxvgs: 80
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 2984
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 07:23 AM
тАО07-14-2003 07:23 AM
Re: cpu clock speed
9000/800/L2000-44 is 440MHZ
9000/800/L1000-5X is 540MHZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 12:29 PM
тАО07-14-2003 12:29 PM
Re: cpu clock speed
Check this:
echo "itick_per_tick/D" | adb -k /stand/vmunix /dev/kmem | tail -1
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 05:38 PM
тАО07-14-2003 05:38 PM
Re: cpu clock speed
You can get the cpu clock speed in MHz by:
#echo itick_per_usec /D |adb -k /stand/vmunix /dev/kmem|tail -1|awk '{print $2}'
540 (example)
-ux