- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Clock Speed HP-UX 11.31
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-21-2009 08:08 PM
тАО05-21-2009 08:08 PM
ive been getting headache to determine the clock speed of HP-UX v. 11.31. Any experts know how to do this? (Unix commands).
Thanks for your help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:15 PM
тАО05-21-2009 08:15 PM
Re: Clock Speed HP-UX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:18 PM
тАО05-21-2009 08:18 PM
Re: Clock Speed HP-UX 11.31
If you're talking about CPU Clock speed:
#echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem
You can also view in cstm:
echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpu.info
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:26 PM
тАО05-21-2009 08:26 PM
Re: Clock Speed HP-UX 11.31
thanks for the replies.
i've tried your suggestion, however the results are:
bash-4.0$ echo "selclass qualifier CPU;info;wait;infolog"|cstm
bash: cstm: command not found
bash-4.0$ echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpu.info
bash: cstm: command not found
or is there any shell script to get the clockspeed. I remember having similar problem with HP-UX 11.11 and found out script as follows:
#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | \
sudo adb -k $hpux /dev/kmem | \
tr "\012" " " | \
read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
GetKernelSymbol "processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
let mb=kval*4/1024 # convert pages to MB
print RAM Size: $mb MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:28 PM
тАО05-21-2009 08:28 PM
Re: Clock Speed HP-UX 11.31
Please set the path; cstm should be in /usr/bin.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:34 PM
тАО05-21-2009 08:34 PM
Re: Clock Speed HP-UX 11.31
bash-4.0$ pwd
/usr/bin
bash-4.0$ echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpu.info
bash: cstm: command not found
Any ideas? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:43 PM
тАО05-21-2009 08:43 PM
Re: Clock Speed HP-UX 11.31
>>bash-4.0$ echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpu.info
>>bash: cstm: command not found
put the full path of cstm and you should having the Super User to run cstm command.
#echo "selclass qualifier cpu;info;wait;infolog"|/usr/bin/cstm > /tmp/cpu.info
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 08:46 PM
тАО05-21-2009 08:46 PM
Re: Clock Speed HP-UX 11.31
give the absolute path or exit from bash and come in native shell.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 09:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 09:47 PM
тАО05-21-2009 09:47 PM
Re: Clock Speed HP-UX 11.31
You can run "model" command or run nickel script also to know the cpu clock speed.
Suraj