- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpu 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
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
12-02-2003 11:53 PM
12-02-2003 11:53 PM
cpu speed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:00 AM
12-03-2003 12:00 AM
Re: cpu speed
normaly I would say,
# echo itick_per_tick/D|adb -k /stand/vmunix /dev/kmem | tail -n1 | awk '{print $2/10000 "MHz"}'
Nut I'm not shure you can do this from a non root user. I do not have a UX system at this moment to try.
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:02 AM
12-03-2003 12:02 AM
Re: cpu speed
I use this little script (but it has to be run by root):
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo $MHZ
I don't know of a way to obtain this info as a non-root user.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:04 AM
12-03-2003 12:04 AM
Re: cpu speed
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 12:10 AM
12-03-2003 12:10 AM
Re: cpu speed
From SAM: Go to Performance Monitors -> System Properties -> Memory
HTH
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 04:48 AM
12-04-2003 04:48 AM
Re: cpu speed
Can use:
# model
9000/800/L1000-36
And just add a 0 (zero) to the last number, so this server has a 360 processor.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 04:52 AM
12-04-2003 04:52 AM
Re: cpu speed
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 05:23 AM
12-04-2003 05:23 AM
Re: cpu speed
9000/800/N4000-55 ( 550 MHZ)
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 05:29 AM
12-04-2003 05:29 AM
Re: cpu speed
This will give you the processor speed.
echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem
If you want to run this command as non-root user, you should have read access on /dev/kmem.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 05:45 AM
12-04-2003 05:45 AM
Re: cpu speed
# hpmem
HP-UX pc0003 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: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 06:21 AM
12-04-2003 06:21 AM
Re: cpu speed
#include
#include
#include
#include
int main(int argc, char *argv[])7!` á
{
struct pst_processor st;
int id;
for (id=0; pstat_getprocessor(&st, sizeof(st), (size_t)1, id)==1; id++) {
printf("processor %d- %d clock cycles per second\n",
id, st.psp_iticksperclktick * sysconf(_SC_CLK_TCK));
}
return 0;
}
% cpu_rate
processor 0- 750000000 clock cycles per second
processor 1- 750000000 clock cycles per second
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 06:24 AM
12-04-2003 06:24 AM
Re: cpu speed
Change
#include
#include
int main(int argc, char *argv[])7!` à ¡
to
#include
#include
int main(int argc, char
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 06:25 AM
12-04-2003 06:25 AM
Re: cpu speed
Just remove the odd characters from the
ends of those three lines.