- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Processor Speed
Operating System - HP-UX
1752788
Members
6061
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-15-2003 07:54 AM
тАО01-15-2003 07:54 AM
Re: Processor Speed
Hi,
You can also use,
db001:/etc# ioscan -fnkC processor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 160 processor CLAIMED PROCESSOR Processor
processor 1 166 processor CLAIMED PROCESSOR Processor
Hope it helps,
Robert-Jan.
You can also use,
db001:/etc# ioscan -fnkC processor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 160 processor CLAIMED PROCESSOR Processor
processor 1 166 processor CLAIMED PROCESSOR Processor
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2003 08:15 AM
тАО01-15-2003 08:15 AM
Re: Processor Speed
You can actually get clock rate information for each processor with the pstat_getprocessor function.
That still reports the same speed for every processor. Here is a small example program.
#include
#include
#include
#include
int main(int argc, char *argv[])
{
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;
}
That still reports the same speed for every processor. Here is a small example program.
#include
#include
#include
#include
int main(int argc, char *argv[])
{
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;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2003 01:31 PM
тАО01-15-2003 01:31 PM
Re: Processor Speed
ummm, I read about the stm that was just posted. I got into it, and can't get out! I know, I know...what a sad, sad post. Can somebody help me?
Thanks,
Mary P.
Thanks,
Mary P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2003 02:18 PM
тАО01-15-2003 02:18 PM
Re: Processor Speed
Hi Mary,
Don't be hard on yourself, we all have days like this.
Not sure whether you're sitting at a
cstm>
prompt or not.
If so just type quit & 2 returns to get out.
If you went into cstm via the echo/pipe routine a ctrl-C should get you out. If that doesn't do it try the delete key. If that doesn't do it try the ctrl-backslash.
Rgds,
Jeff
Don't be hard on yourself, we all have days like this.
Not sure whether you're sitting at a
cstm>
prompt or not.
If so just type quit & 2 returns to get out.
If you went into cstm via the echo/pipe routine a ctrl-C should get you out. If that doesn't do it try the delete key. If that doesn't do it try the ctrl-backslash.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP